commit f90b3f0a949ec696785f554dfb98f6fbcc6b9e62
parent c95c07cd0e2a84670617bb11d886ddeb423c170e
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 13 May 2015 19:43:44 +0200
fix missing variable
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/index.php b/index.php
@@ -13,6 +13,7 @@ if (!file_exists('core/config/connect.db.inc.php')) {
header("Location:themes/$theme");
}else{
if (!empty($_GET["file"])) {
+ require_once('core/config/variables.config.php');
$file = $_GET["file"];
header("HTTP/1.1 301 Moved Permanently");
header("Location:themes/$theme/$file");