You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.
Currently the Config.php is doing file_get_contents, we can instead use include/require this will opcache the master.php file which is being called so frequently.
For this we have to change the ConfigUtil.php
Util_File::file_put_contents_atomic( $filename, '' . $config );
Currently the Config.php is doing file_get_contents, we can instead use include/require this will opcache the master.php file which is being called so frequently.
For this we have to change the ConfigUtil.php
Util_File::file_put_contents_atomic( $filename, '' . $config );
and in Config.php
$data = include($filename);
return $data;
instead of
$content = @file_get_contents( $filename );
$config = @json_decode( substr( $content, 14 ), true );
The text was updated successfully, but these errors were encountered: