Show site name on error pages

This commit is contained in:
Les De Ridder 2017-02-16 15:17:52 +01:00
parent e647291435
commit 9502ca5f18
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ $tpl = new RainTPL;
$title = "Temp File Hosting"; $title = "Temp File Hosting";
$tpl->assign("title", $title); $tpl->assign("title", $title);
$tpl->assign("site_name", CONFIG_SITE_NAME);
$tpl->draw("header"); $tpl->draw("header");
$tpl->draw("error"); $tpl->draw("error");

View File

@ -6,6 +6,7 @@ raintpl::configure( 'cache_dir', 'rain/cache/' );
$tpl = new RainTPL; $tpl = new RainTPL;
$title = "Temp File Hosting"; $title = "Temp File Hosting";
$tpl->assign("title", $title); $tpl->assign("title", $title);
$tpl->assign("site_name", CONFIG_SITE_NAME);
$tpl->draw("header"); $tpl->draw("header");
$tpl->draw("error_meow"); $tpl->draw("error_meow");
$tpl->draw("footer"); $tpl->draw("footer");