mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
Separate lang()
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@31 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
<?php
|
||||
function lang($idf) {
|
||||
return $idf;
|
||||
}
|
||||
|
||||
function idf_escape($idf) {
|
||||
return "`" . str_replace("`", "``", $idf) . "`";
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
session_start();
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
$SELF = preg_replace('~^[^?]*/([^?]*).*~', '\\1?', $_SERVER["REQUEST_URI"]) . (strlen($_GET["server"]) ? 'server=' . urlencode($_GET["server"]) . '&' : '') . (strlen($_GET["db"]) ? 'db=' . urlencode($_GET["db"]) . '&' : '');
|
||||
include "./lang.inc.php";
|
||||
include "./functions.inc.php";
|
||||
include "./design.inc.php";
|
||||
include "./auth.inc.php";
|
||||
|
4
lang.inc.php
Normal file
4
lang.inc.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
function lang($idf) {
|
||||
return $idf;
|
||||
}
|
Reference in New Issue
Block a user