From: <var...@us...> - 2012-11-20 17:22:03
|
Revision: 8500 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8500&view=rev Author: vargenau Date: 2012-11-20 17:21:56 +0000 (Tue, 20 Nov 2012) Log Message: ----------- check_php_version at start Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2012-11-20 15:30:19 UTC (rev 8499) +++ trunk/index.php 2012-11-20 17:21:56 UTC (rev 8500) @@ -32,6 +32,10 @@ require_once(dirname(__FILE__) . '/lib/IniConfig.php'); IniConfig(dirname(__FILE__) . "/config/config.ini"); +if (!check_php_version(5,2)) { + ExitWiki("PhpWiki " . PHPWIKI_VERSION . " requires at least PHP 5.2."); +} + //////////////////////////////////////////////////////////////// // PrettyWiki // Check if we were included by some other wiki version This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |