Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/install/install_toolkit.php
Show First 20 Lines • Show All 577 Lines • ▼ Show 20 Line(s) | |||||
fwrite($fp, '$_CONFIG[\'' . $section_name . '\'][\'' . $key . '\'] = \'' . addslashes($value) . '\';' . "\n"); | fwrite($fp, '$_CONFIG[\'' . $section_name . '\'][\'' . $key . '\'] = \'' . addslashes($value) . '\';' . "\n"); | ||||
} | } | ||||
fwrite($fp, "\n"); | fwrite($fp, "\n"); | ||||
} | } | ||||
fclose($fp); | fclose($fp); | ||||
if ( function_exists('opcache_invalidate') ) { | |||||
opcache_invalidate($this->INIFile); | |||||
} | |||||
$this->systemConfigChanged = false; | $this->systemConfigChanged = false; | ||||
} | } | ||||
/** | /** | ||||
* Sets value to system config (yet SaveConfig must be called to write it to file) | * Sets value to system config (yet SaveConfig must be called to write it to file) | ||||
* | * | ||||
* @param string $section | * @param string $section | ||||
* @param string $key | * @param string $key | ||||
▲ Show 20 Lines • Show All 581 Lines • ▼ Show 20 Line(s) | |||||
} | } | ||||
else { | else { | ||||
unset($compression_engines['yui']); | unset($compression_engines['yui']); | ||||
} | } | ||||
} | } | ||||
return $compression_engines; | return $compression_engines; | ||||
} | } | ||||
} | } | ||||
No newline at end of file |