make development code runnable in arbitrary subdirectories

This commit is contained in:
following
2013-01-30 00:11:22 +01:00
parent daa748f023
commit d145e182e8

View File

@@ -19,7 +19,7 @@
****************************************************************************/
//relative path to the root directory
if (!isset($rootpath)) $rootpath = './';
if (!isset($rootpath)) $rootpath = dirname(__FILE__) . '/../';
//default used language
if (!isset($lang)) $lang = 'de';