Proxy fix
This commit is contained in:
parent
5c547f390b
commit
d086aad5ff
@ -28,6 +28,10 @@ class Serialization
|
|||||||
*/
|
*/
|
||||||
public static function serialize($filename, $instance, $force = false)
|
public static function serialize($filename, $instance, $force = false)
|
||||||
{
|
{
|
||||||
|
if (isset($instance->API->setdem) && $instance->API->setdem) {
|
||||||
|
$instance->API->setdem = false;
|
||||||
|
$instance->API->__construct($instance->API->settings);
|
||||||
|
}
|
||||||
if (!file_exists($lock = $filename.'.lock')) {
|
if (!file_exists($lock = $filename.'.lock')) {
|
||||||
touch($lock);
|
touch($lock);
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
|
Loading…
Reference in New Issue
Block a user