mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
removed debug_extra notice
other fixes state that mysql.php shouldn't be used for mysql 4.1+ (actually, it should deny using it) git-svn-id: file:///svn/phpbb/trunk@6377 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -371,7 +371,7 @@ class acm
|
||||
}
|
||||
$db->sql_freeresult($query_result);
|
||||
|
||||
fwrite($fp, "<?php\n\n/*\n$query\n*/\n\n\$expired = (time() > " . (time() + $ttl) . ") ? true : false;\nif (\$expired) { return; }\n\n\$this->sql_rowset[\$query_id] = array(" . implode(',', $lines) . ') ?>');
|
||||
fwrite($fp, "<?php\n\n/*\n" . str_replace('*/', '*\/', $query) . "\n*/\n\n\$expired = (time() > " . (time() + $ttl) . ") ? true : false;\nif (\$expired) { return; }\n\n\$this->sql_rowset[\$query_id] = array(" . implode(',', $lines) . ') ?>');
|
||||
@flock($fp, LOCK_UN);
|
||||
fclose($fp);
|
||||
|
||||
|
@@ -489,12 +489,6 @@ class acp_main
|
||||
);
|
||||
}
|
||||
|
||||
// Display debug_extra notice
|
||||
if (defined('DEBUG_EXTRA'))
|
||||
{
|
||||
$template->assign_var('S_DEBUG_EXTRA', true);
|
||||
}
|
||||
|
||||
// Warn if install is still present
|
||||
if (file_exists($phpbb_root_path . 'install'))
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ if (!defined('SQL_LAYER'))
|
||||
|
||||
/**
|
||||
* MySQL Database Abstraction Layer
|
||||
* Minimum Requirement is 3.23+/4.0+/4.1+
|
||||
* Minimum Requirement is 3.23+/4.0+ (NOT 4.1+/5.0+)
|
||||
* @package dbal
|
||||
*/
|
||||
class dbal_mysql extends dbal
|
||||
|
Reference in New Issue
Block a user