mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
fix deactivation plugins
This commit is contained in:
parent
9c918a009f
commit
3020a234e9
|
@ -321,9 +321,9 @@ class ModulePlugin extends Module {
|
||||||
/**
|
/**
|
||||||
* Записываем данные в файл PLUGINS.DAT
|
* Записываем данные в файл PLUGINS.DAT
|
||||||
*/
|
*/
|
||||||
if (@file_put_contents($this->sPluginsDir.Config::Get('sys.plugins.activation_file'), implode(PHP_EOL,$aPlugins))) {
|
if (@file_put_contents($this->sPluginsDir.Config::Get('sys.plugins.activation_file'), implode(PHP_EOL,$aPlugins))!==false) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue