1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

work on sitedown

This commit is contained in:
marj
2009-10-28 14:14:11 +00:00
parent b3beba9652
commit 24ca20948e
2 changed files with 15 additions and 15 deletions

View File

@@ -11,23 +11,23 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/sitedown.php,v $
| $Revision: 1.5 $
| $Date: 2009-10-24 08:45:43 $
| $Revision: 1.6 $
| $Date: 2009-10-28 14:14:11 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
require_once('class2.php');
header('Content-type: text/html; charset=utf-8', TRUE);
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
if (!$pref['maintainance_flag'] )
if (!varset($pref['maintainance_flag']))
{
header('location: '.SITEURL);
exit();
}
header('Content-type: text/html; charset=utf-8', TRUE);
include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
require_once(e_FILE.'shortcode/batch/sitedown_shortcodes.php');
if (!$SITEDOWN_TABLE)
@@ -41,5 +41,4 @@ if (!$SITEDOWN_TABLE)
require_once(e_THEME.'templates/sitedown_template.php');
}
}
echo $tp->parseTemplate($SITEDOWN_TABLE, TRUE, $sitedown_shortcodes);