From a53ccf75f86b888e398d39ba28fc1d0219afeb0e Mon Sep 17 00:00:00 2001 From: Thomas Metois Date: Tue, 11 Apr 2017 10:13:26 +0200 Subject: [PATCH] EVO: if /data/cache not exist then create it --- config/application.config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/application.config.php b/config/application.config.php index b8eb04c..1898813 100644 --- a/config/application.config.php +++ b/config/application.config.php @@ -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(