This repository has been archived by the owner on Jun 2, 2024. It is now read-only.
Version 1.0.14 (Read-Only Mode)
- Added #11 a new configuration variable
read_only
. By defaultfalse
, when set totrue
no modifications can be made to the database and if you attempt to make asave()
,delete()
,truncate()
orflush()
an exception will be thrown as those methods are not allowed to be used in read-only mode. - The database will not attempt to create a new directory if one does not exist during read-only mode, this can become an issue if you don't have permission to do so, read-only tries to solve that.
- When set to
false
the database functions as normal.