1 Commits
1.0.3 ... 1.0.4

Author SHA1 Message Date
Gregory Letellier
01e9fd2de3 fix export des config 2023-11-15 09:27:27 +01:00

View File

@@ -20,7 +20,7 @@ class Config
if (isset($this->container["DEBUG"])) {
if (($this->container["DEBUG"] == "false") && !is_file($this->cachepath)) {
// production app cache not created
$str = "<?php return " . json_encode(array_values($this->container)) . "; ?>";
$str = "<?php return " . var_export($this->container, true) . "; ?>";
file_put_contents($this->cachepath, $str);
}
}