]> jfr.im git - uguu.git/blobdiff - upload-done.php
Adding the public files folder
[uguu.git] / upload-done.php
index f48802e1456425418c288a7577467d5fa9b01247..3447c62b5de4d055253da726eea172f04f7473cc 100644 (file)
@@ -1,13 +1,13 @@
 <?php
-require_once "/home/neku/www/page/public/rain/rain.tpl.class.php";
+require_once "rain/rain.tpl.class.php";
 raintpl::configure( 'path_replace', false);
-raintpl::configure( 'tpl_dir', '/home/neku/www/page/public/rain/template/');
-raintpl::configure( 'cache_dir', '/home/neku/www/page/public/rain/cache/' );
+raintpl::configure( 'tpl_dir', 'rain/template/');
+raintpl::configure( 'cache_dir', 'rain/cache/' );
 $tpl = new RainTPL;
 $title = "Temp File Hosting";
 $tpl->assign("title", $title);
 $tpl->draw("header");
-$tpl->assign("filename", $n);
+$tpl->assign("url_filename", CONFIG_ROOT_URL.'/files/'.$n);
 $tpl->draw("upload-done");
 $tpl->draw("footer");
 ?>