Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Separate lang()

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@31 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit 1bd3218cc6ade460fa50ef826343514ee86f4f68 1 parent 1bc2792
jakubvrana authored
Showing with 5 additions and 4 deletions.
  1. +0 −4 functions.inc.php
  2. +1 −0  index.php
  3. +4 −0 lang.inc.php
View
4 functions.inc.php
@@ -1,8 +1,4 @@
<?php
-function lang($idf) {
- return $idf;
-}
-
function idf_escape($idf) {
return "`" . str_replace("`", "``", $idf) . "`";
}
View
1  index.php
@@ -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";
View
4 lang.inc.php
@@ -0,0 +1,4 @@
+<?php
+function lang($idf) {
+ return $idf;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.