1
0
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:
jakubvrana
2007-07-05 05:41:18 +00:00
parent 1bc2792a41
commit 1bd3218cc6
3 changed files with 5 additions and 4 deletions

View File

@@ -1,8 +1,4 @@
<?php
function lang($idf) {
return $idf;
}
function idf_escape($idf) {
return "`" . str_replace("`", "``", $idf) . "`";
}

View File

@@ -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
View File

@@ -0,0 +1,4 @@
<?php
function lang($idf) {
return $idf;
}