mirror of
https://github.com/vrana/adminer.git
synced 2026-03-04 11:31:34 +01:00
Remove odd() from create
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@663 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -175,8 +175,8 @@ if ($_COOKIE["lang"]) {
|
||||
$file = preg_replace_callback("~lang\\('((?:[^\\\\']+|\\\\.)*)'([,)])~s", 'lang_ids', $file);
|
||||
}
|
||||
$replace = 'htmlspecialchars(preg_replace("~\\\\\\\\?.*~", "", $_SERVER["REQUEST_URI"])) . "?file=\\0&version=' . $VERSION;
|
||||
$file = preg_replace('~default\\.css|functions\\.js|favicon\\.ico|(plus|cross)\\.gif~', '<?php echo ' . $replace . '"; ?>', $file);
|
||||
$file = preg_replace('~(up|down|arrow)\\.gif~', '" . ' . $replace, $file);
|
||||
$file = preg_replace('~default\\.css|functions\\.js|favicon\\.ico~', '<?php echo ' . $replace . '"; ?>', $file);
|
||||
$file = preg_replace('~(plus|cross|up|down|arrow)\\.gif~', '" . ' . $replace, $file);
|
||||
$file = str_replace('error_reporting(E_ALL & ~E_NOTICE);', 'error_reporting(E_ALL & ~E_NOTICE);
|
||||
if (isset($_GET["file"])) {
|
||||
header("Expires: " . gmdate("D, d M Y H:i:s", time() + 365*24*60*60) . " GMT");
|
||||
|
||||
Reference in New Issue
Block a user