aboutsummaryrefslogtreecommitdiffstats
path: root/langs
diff options
context:
space:
mode:
Diffstat (limited to 'langs')
-rw-r--r--langs/diff.php2
-rw-r--r--langs/lib.php2
-rw-r--r--langs/missing.php2
-rw-r--r--langs/report.php1
-rw-r--r--langs/report_test.php1
5 files changed, 5 insertions, 3 deletions
diff --git a/langs/diff.php b/langs/diff.php
index 70ff102c6..251cd87f0 100644
--- a/langs/diff.php
+++ b/langs/diff.php
@@ -3,7 +3,7 @@
* Report the diff of 's' file
* against matching file in language 'l', if it exists.
*/
-
+define('HLANG', true);
include 'lib.php';
$source_file = isset($_GET['s']) ? strip_tags(trim($_GET['s'])) : null;
diff --git a/langs/lib.php b/langs/lib.php
index 054a4743e..b238cdd4c 100644
--- a/langs/lib.php
+++ b/langs/lib.php
@@ -13,7 +13,7 @@ if (isset($_SERVER['APP_MODE']) && $_SERVER['APP_MODE'] !== 'prod') {
ini_set('log_errors', FALSE);
}
-include '../langs.inc.php';
+include '../langs.php';
/**
* Diff two .lang files, to get:
diff --git a/langs/missing.php b/langs/missing.php
index 952232704..db267864e 100644
--- a/langs/missing.php
+++ b/langs/missing.php
@@ -1,7 +1,7 @@
<?php
/**
*/
-
+define('HLANG', true);
include 'lib.php';
$s = isset($_GET['s']) ? strip_tags(trim($_GET['s'])) : null;
diff --git a/langs/report.php b/langs/report.php
index b04d6363f..a16d2ee1a 100644
--- a/langs/report.php
+++ b/langs/report.php
@@ -37,6 +37,7 @@
<?php
/**
*/
+ define('HLANG', true);
include 'lib.php';
$one_language = isset($_GET['l']) ? strip_tags(trim($_GET['l'])) : null;
$one_resource = isset($_GET['r']) ? strip_tags(trim($_GET['r'])) : null;
diff --git a/langs/report_test.php b/langs/report_test.php
index 66ec7da4c..a24a78f20 100644
--- a/langs/report_test.php
+++ b/langs/report_test.php
@@ -37,6 +37,7 @@
<?php
/**
*/
+ define('HLANG', true);
function time_debug($name) {
static $start_of_microtime = NULL;
if($start_of_microtime === NULL) {