DOCSYSTEM Quitando los error_logs
Quitando los error_logs
This commit is contained in:
@@ -199,7 +199,7 @@ class Installer
|
||||
if (defined('PARTNER_FLAG') || isset($_REQUEST['PARTNER_FLAG'])) {
|
||||
$dbText .= "define ('PARTNER_FLAG', " . ((defined('PARTNER_FLAG')) ? PARTNER_FLAG : ((isset($_REQUEST['PARTNER_FLAG'])) ? $_REQUEST['PARTNER_FLAG']:'false')) . ");\n";
|
||||
if (defined('SYSTEM_NAME')) {
|
||||
$dbText .= " define ('SYSTEM_NAME', " . SYSTEM_NAME . ");\n";
|
||||
$dbText .= " define ('SYSTEM_NAME', '" . SYSTEM_NAME . "');\n";
|
||||
}
|
||||
}
|
||||
$fp = @fopen($db_file, "w");
|
||||
|
||||
@@ -295,11 +295,11 @@ class Translation extends BaseTranslation
|
||||
fwrite( $f, '$translation' . $plugin . ' =' . 'unserialize(\'' . addcslashes( serialize( $translation ), '\\\'' ) . "');\n" );
|
||||
fwrite( $f, "?>" );
|
||||
fclose( $f );
|
||||
|
||||
/*
|
||||
$f = fopen( $cacheFileJS, 'w' );
|
||||
fwrite( $f, "var G_STRINGS =" . Bootstrap::json_encode( $translationJS ) . ";\n" );
|
||||
fclose( $f );
|
||||
|
||||
*/
|
||||
$res['cacheFile'] = $cacheFile;
|
||||
$res['cacheFileJS'] = $cacheFileJS;
|
||||
$res['rows'] = count( $translation );
|
||||
|
||||
Reference in New Issue
Block a user