]> jfr.im git - uguu.git/blobdiff - index.php
Multiple changes everywhere
[uguu.git] / index.php
index 6f8552eda18534fbcdf72bda54f5798281e8fc4d..b7eeb7c66c32d2ad53ef0b01a23148568ff5e9fe 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,4 +1,7 @@
 <?php
+//Loading configuration file
+require_once "includes/config.php";
+
 require_once "rain/rain.tpl.class.php";
 
 raintpl::configure( 'path_replace', false);
@@ -15,10 +18,11 @@ $tpl->assign("title", $title);
 $tpl->draw("header");
 
 if(isset($_GET['info'])) {
+    $tpl->assign("url_filename", CONFIG_ROOT_URL);
     $tpl->draw("info");
 } else {
     $tpl->draw("upload");
 }
 
 $tpl->draw("footer");
-?>
\ No newline at end of file
+?>