]> jfr.im git - uguu.git/blobdiff - index.php
Update README.md
[uguu.git] / index.php
index 6f8552eda18534fbcdf72bda54f5798281e8fc4d..731072341f8f708856e9915e7fd5e17df9fd1a55 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,12 @@ $tpl->assign("title", $title);
 $tpl->draw("header");
 
 if(isset($_GET['info'])) {
+    $tpl->assign("url_filename", CONFIG_ROOT_URL);
+    $tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
     $tpl->draw("info");
 } else {
     $tpl->draw("upload");
 }
 
 $tpl->draw("footer");
-?>
\ No newline at end of file
+?>