fix undefined variable in wheezy-config

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-07-05 10:55:42 +02:00
parent b7a4b69ee0
commit 3267cdfda7

View File

@@ -67,6 +67,8 @@ unset($value);
unset($key); unset($key);
$filename = basename($_SERVER['PHP_SELF']); $filename = basename($_SERVER['PHP_SELF']);
$pathtophpfiles = dirname(dirname(__FILE__));
if(!file_exists('lib/userdata.inc.php')) if(!file_exists('lib/userdata.inc.php'))
{ {
$config_hint = file_get_contents('templates/Froxlor/misc/configurehint.tpl'); $config_hint = file_get_contents('templates/Froxlor/misc/configurehint.tpl');