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

pull/1/head
Thomas Metois 2017-04-11 10:21:52 +02:00
parent d12484b33b
commit 49a2451cad
1 changed files with 3 additions and 0 deletions

View File

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