Commit c2812550598b2471a8cd929228962b07e122c6a8
1 parent
4deb8ade
Try to create config cache file if it doesn't already exist
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5490 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
config/dmsDefaults.php
| @@ -424,6 +424,7 @@ class KTInit { | @@ -424,6 +424,7 @@ class KTInit { | ||
| 424 | $this->readConfig(); | 424 | $this->readConfig(); |
| 425 | 425 | ||
| 426 | $oKTConfig =& KTConfig::getSingleton(); | 426 | $oKTConfig =& KTConfig::getSingleton(); |
| 427 | + @touch($cache_file); | ||
| 427 | if ($store_cache && is_writable($cache_file)) { | 428 | if ($store_cache && is_writable($cache_file)) { |
| 428 | $oKTConfig->createCache($cache_file); | 429 | $oKTConfig->createCache($cache_file); |
| 429 | } | 430 | } |