init storage folder if not exist

This commit is contained in:
ghost 2023-12-21 08:17:40 +02:00
parent 508ae759e7
commit 80be350382

View File

@ -34,6 +34,13 @@ catch (Exception $e)
// Connect DB
try
{
@mkdir(
sprintf(
'%s/../../storage',
__DIR__
)
);
$database = new PDO(
sprintf(
'sqlite:%s',