aboutsummaryrefslogtreecommitdiffstats
path: root/_nav
diff options
context:
space:
mode:
Diffstat (limited to '_nav')
-rw-r--r--_nav/html/index.php1
-rw-r--r--_nav/lib.php2
-rw-r--r--_nav/php-mo.php (renamed from _nav/langs/php-mo.php)0
3 files changed, 2 insertions, 1 deletions
diff --git a/_nav/html/index.php b/_nav/html/index.php
index 0bde089bb..8c8ac690c 100644
--- a/_nav/html/index.php
+++ b/_nav/html/index.php
@@ -44,7 +44,6 @@ $wrap = isset($_GET['w']) ? true : false;
require 'conf.php';
include '../lib.php';
-require_once('../langs/php-mo.php');
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET');
diff --git a/_nav/lib.php b/_nav/lib.php
index 55151034c..0cf33b47a 100644
--- a/_nav/lib.php
+++ b/_nav/lib.php
@@ -18,6 +18,8 @@
*/
// definition
+require_once('php-mo.php');
+
class NCache
{
function __construct() { }
diff --git a/_nav/langs/php-mo.php b/_nav/php-mo.php
index 470ce80e8..470ce80e8 100644
--- a/_nav/langs/php-mo.php
+++ b/_nav/php-mo.php