Simple temporary file hosting https://u.fuwafuwa.moe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 516B

1234567891011121314151617181920212223
  1. <?php
  2. //Loading configuration file
  3. require_once "includes/config.php";
  4. require_once "rain/rain.tpl.class.php";
  5. raintpl::configure( 'path_replace', false);
  6. raintpl::configure( 'tpl_dir', 'rain/template/');
  7. raintpl::configure( 'cache_dir', 'rain/cache/' );
  8. $tpl = new RainTPL;
  9. $title = "Temp File Hosting";
  10. $tpl->assign("title", $title);
  11. $tpl->assign("site_name", CONFIG_SITE_NAME);
  12. $tpl->draw("header");
  13. $tpl->assign("retention_time", CONFIG_MAX_RETENTION_TEXT);
  14. $tpl->draw("upload");
  15. $tpl->draw("footer");
  16. ?>