EVO: if /data/cache not exist then create it

pull/8/head
Thomas Metois 2017-04-11 10:13:26 +02:00
parent 1d22b24500
commit a53ccf75f8
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ $datapath = "data";
if( ! empty($appconfdir) ){
$confpaths[] = $appconfdir.'/local.php';
$datapath = $appconfdir.'/data';
if(!is_dir($datapath.'/cache')){
mkdir($datapath.'/cache');
}
}
return array(