openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c056f5c5487af10233c7493b04686bb084182f76
parent baf429f0197b2526258ba0c29fda015dc77651aa
Author: dankert <devnull@localhost>
Date:   Mon, 12 Oct 2009 09:39:21 +0200

Direkten Zugriff auf erzeugte Seiten verhindern.

Diffstat:
themes/default/include/html/page.inc.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/themes/default/include/html/page.inc.php b/themes/default/include/html/page.inc.php @@ -1,4 +1,5 @@ <?php + if (!defined('OR_VERSION')) die('Forbidden'); if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html>