mirror of
https://github.com/nextcloud/server.git
synced 2024-09-10 15:16:45 +02:00
Preserve Debug flag accross config writes
This commit is contained in:
parent
e5a497c924
commit
a68cbb00e0
@ -155,7 +155,11 @@ class OC_Config{
|
||||
*/
|
||||
public static function writeData() {
|
||||
// Create a php file ...
|
||||
$content = "<?php\n\$CONFIG = ";
|
||||
$content = "<?php\n ";
|
||||
if (defined('DEBUG') && DEBUG) {
|
||||
$content .= "define('DEBUG',true);\n";
|
||||
}
|
||||
$content .= "\$CONFIG = ";
|
||||
$content .= var_export(self::$cache, true);
|
||||
$content .= ";\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user