fix #1 - saving of config files
Dieser Commit ist enthalten in:
Ursprung
3ea22223d6
Commit
f0585f18c2
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
|
|
@ -688,12 +688,12 @@ function mr_setConfiguration($clientId, array $config) {
|
|||
|
||||
if(file_exists($sConfigClientPath) && is_writable($sConfigClientPath)) {
|
||||
$file = $sConfigClientPath. 'config.mod_rewrite.php';
|
||||
} else {
|
||||
} else {
|
||||
$file = cRegistry::getConfigValue('path', 'contenido') . cRegistry::getConfigValue('path', 'plugins') . 'cl-mod-rewrite/includes/config.mod_rewrite_' . cRegistry::getClientId() . '.php';
|
||||
}
|
||||
|
||||
$result = file_put_contents($file, serialize($config));
|
||||
return ($result) ? true : false;
|
||||
return (empty($result)) ? false : true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren