aboutsummaryrefslogtreecommitdiffstats
path: root/_nav
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2014-05-18 20:16:47 +0000
committerFilip Komar <filip@mageia.org>2014-05-18 20:16:47 +0000
commit86229ab1304d917d60170a4f5e9aaff0682eda2b (patch)
treeb3534aea7c7e477bb09b92b3dd4879f55c9ff398 /_nav
parentea0e0637b9b4037c3906be8f26c47e615142dd37 (diff)
downloadwww-86229ab1304d917d60170a4f5e9aaff0682eda2b.tar
www-86229ab1304d917d60170a4f5e9aaff0682eda2b.tar.gz
www-86229ab1304d917d60170a4f5e9aaff0682eda2b.tar.bz2
www-86229ab1304d917d60170a4f5e9aaff0682eda2b.tar.xz
www-86229ab1304d917d60170a4f5e9aaff0682eda2b.zip
move php-mo.php for better compatibility with mognase + improved navigation in l10n report & co.
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