diff options
Diffstat (limited to '_nav/html/conf.php')
-rw-r--r-- | _nav/html/conf.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/_nav/html/conf.php b/_nav/html/conf.php deleted file mode 100644 index b3168740c..000000000 --- a/_nav/html/conf.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php -/** -*/ - -/** Host running/serving the global nav. */ -$nav_host = $_SERVER['HTTP_HOST']; - -/** Host running main Web site www.m.o. */ -$www_host = 'www.mageia.org'; - -/** Where precomputed nav templates are cached. */ -$cache_path = 'var/tmp/cache'; - -// erk -if ($nav_host == 'www.mageia.org') { - $cache_path = '../var/tmp/cache'; -} - -/** You may overload this config by defining APP_MODE env - * variable, and using the switch construct below. -*/ -$mode = isset($_SERVER['APP_MODE']) ? $_SERVER['APP_MODE'] : null; - -switch ($mode) { -case 'dev': -case 'dev-rda': $www_host = 'mageia:8888'; break; -// add your own case if needed. -case 'razvoj': $www_host = 'mag'; break; -} |