From: <var...@us...> - 2010-03-31 12:09:09
|
Revision: 7314 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7314&view=rev Author: vargenau Date: 2010-03-31 12:09:03 +0000 (Wed, 31 Mar 2010) Log Message: ----------- Avoid direct call to file themeinfo.php Modified Paths: -------------- trunk/themes/Crao/themeinfo.php trunk/themes/Hawaiian/themeinfo.php trunk/themes/MacOSX/themeinfo.php trunk/themes/MonoBook/themeinfo.php trunk/themes/Portland/themeinfo.php trunk/themes/Sidebar/themeinfo.php trunk/themes/SpaceWiki/themeinfo.php trunk/themes/Wordpress/themeinfo.php trunk/themes/blog/themeinfo.php trunk/themes/default/themeinfo.php trunk/themes/gforge/themeinfo.php trunk/themes/shamino_com/themeinfo.php trunk/themes/smaller/themeinfo.php trunk/themes/wikilens/themeinfo.php Modified: trunk/themes/Crao/themeinfo.php =================================================================== --- trunk/themes/Crao/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/Crao/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /* Modified: trunk/themes/Hawaiian/themeinfo.php =================================================================== --- trunk/themes/Hawaiian/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/Hawaiian/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,10 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} rcs_id('$Id$'); Modified: trunk/themes/MacOSX/themeinfo.php =================================================================== --- trunk/themes/MacOSX/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/MacOSX/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php //-*-php-*- +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /** Modified: trunk/themes/MonoBook/themeinfo.php =================================================================== --- trunk/themes/MonoBook/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/MonoBook/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /** * The new mediawiki (Wikipedia.org) default style. Modified: trunk/themes/Portland/themeinfo.php =================================================================== --- trunk/themes/Portland/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/Portland/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /* Modified: trunk/themes/Sidebar/themeinfo.php =================================================================== --- trunk/themes/Sidebar/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/Sidebar/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /* Modified: trunk/themes/SpaceWiki/themeinfo.php =================================================================== --- trunk/themes/SpaceWiki/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/SpaceWiki/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,10 @@ <?php // -*-php-*- +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} rcs_id('$Id$'); Modified: trunk/themes/Wordpress/themeinfo.php =================================================================== --- trunk/themes/Wordpress/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/Wordpress/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /* Modified: trunk/themes/blog/themeinfo.php =================================================================== --- trunk/themes/blog/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/blog/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /** Modified: trunk/themes/default/themeinfo.php =================================================================== --- trunk/themes/default/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/default/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /* Modified: trunk/themes/gforge/themeinfo.php =================================================================== --- trunk/themes/gforge/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/gforge/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); require_once('lib/WikiTheme.php'); Modified: trunk/themes/shamino_com/themeinfo.php =================================================================== --- trunk/themes/shamino_com/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/shamino_com/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /** * A minimalistic design by walter rafelsberger Modified: trunk/themes/smaller/themeinfo.php =================================================================== --- trunk/themes/smaller/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/smaller/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /** * tiny actionbar, only Edit (if signed in) and Info => PageInfo, Modified: trunk/themes/wikilens/themeinfo.php =================================================================== --- trunk/themes/wikilens/themeinfo.php 2010-03-31 11:59:04 UTC (rev 7313) +++ trunk/themes/wikilens/themeinfo.php 2010-03-31 12:09:03 UTC (rev 7314) @@ -1,4 +1,11 @@ <?php +// Avoid direct call to this file. +// PHPWIKI_VERSION is defined in lib/prepend.php +if (!defined('PHPWIKI_VERSION')) { + header("Location: /"); + exit; +} + rcs_id('$Id$'); /** * The wikilens theme is just a normal WikiTheme (can be based on any, here based on default), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |