diff --git a/config/config.php b/config/config.php
index c2ae3e1711008b7a03d02b65ec3165414a490011..8d1beec6a636b29d776e5b41106835a95447ec48 100644
--- a/config/config.php
+++ b/config/config.php
@@ -1,3 +1,3 @@
 <?php
-const root_dir="/"
+const ROOT_DIR="/"
 ?>
diff --git a/less/style.php b/less/style.php
index f450f8804cedd2208e2d6c5c02a3668cd798ac12..2dc8a02859e6af1111110d818d38ef0eb600b27a 100644
--- a/less/style.php
+++ b/less/style.php
@@ -11,7 +11,9 @@ if (!isset($_GET["name"])) {
 
 $less_file = $_GET["name"]; //"panels/departure/style.less";
 $debug=isset($_GET["debug"]);
-$root_dir="/infoscreen";
+
+include "config/config.php";
+echo ROOT_DIR;
 
 
 $panel = null;
@@ -64,14 +66,14 @@ if (!file_exists($cache_file)) {
 }
 
 if ($debug) {
+    echo "cache-name: " . $cache_file . "\n";
     echo "content:\n";
     if (!isset($content))
         echo file_get_contents($cache_file)."\n";
     else
         echo $content;
-    echo "cache-name: " . $cache_name . "\n";
 } else {
-    header("Location: $root_dir/$cache_file");
+    header("Location: ".ROOT_DIR."/$cache_file");
 }