From: <ru...@us...> - 2009-03-24 13:28:05
|
Revision: 6696 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6696&view=rev Author: rurban Date: 2009-03-24 13:27:56 +0000 (Tue, 24 Mar 2009) Log Message: ----------- (c) vargenau, improve wording Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2009-03-24 13:27:17 UTC (rev 6695) +++ trunk/index.php 2009-03-24 13:27:56 UTC (rev 6696) @@ -2,7 +2,7 @@ // iso-8859-1 /* -Copyright 1999,2000,2001,2002,2003,2004 $ThePhpWikiProgrammingTeam +Copyright 1999,2000,2001,2002,2003,2004,2009 $ThePhpWikiProgrammingTeam = array( "Steve Wainstead", "Clifford A. Adams", "Lawrence Akka", "Scott R. Anderson", "Jon \xC5slund", "Neil Brown", "Jeff Dairiki", @@ -10,7 +10,8 @@ "Antti Kaihola", "Jeremie Kass", "Carsten Klapp", "Marco Milanesi", "Grant Morgan", "Jan Nieuwenhuizen", "Aredridel Niothke", "Pablo Roca Rozas", "Sandino Araico S\xE1nchez", "Joel Uckelman", -"Reini Urban", "Joby Walker", "Tim Voght", "Jochen Kalmbach"); +"Reini Urban", "Marc-Etienne Vargenau", "Joby Walker", "Tim Voght", +"Jochen Kalmbach"); This file is part of PhpWiki. @@ -49,7 +50,7 @@ // is enough in the wiki file, plus the action definition in a .htaccess file //////////////////////////////////////////////////////////////// -// If any page is empty, comment the if ... line out, +// If every page is just empty, comment the if (@is_dir line out, // to force include "lib/main.php". // Without the dir check it might fail for index.php via DirectoryIndex if (@is_dir(SCRIPT_FILENAME) or realpath(SCRIPT_FILENAME) == realpath(__FILE__)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-03-26 10:58:14
|
Revision: 6714 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6714&view=rev Author: vargenau Date: 2009-03-26 10:58:05 +0000 (Thu, 26 Mar 2009) Log Message: ----------- Use UTF-8 so that display is correct on sf.net Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2009-03-26 10:57:15 UTC (rev 6713) +++ trunk/index.php 2009-03-26 10:58:05 UTC (rev 6714) @@ -5,11 +5,11 @@ Copyright 1999,2000,2001,2002,2003,2004,2009 $ThePhpWikiProgrammingTeam = array( "Steve Wainstead", "Clifford A. Adams", "Lawrence Akka", -"Scott R. Anderson", "Jon \xC5slund", "Neil Brown", "Jeff Dairiki", -"St\xE9phane Gourichon", "Jan Hidders", "Arno Hollosi", "John Jorgensen", +"Scott R. Anderson", "Jon Åslund", "Neil Brown", "Jeff Dairiki", +"Stéphane Gourichon", "Jan Hidders", "Arno Hollosi", "John Jorgensen", "Antti Kaihola", "Jeremie Kass", "Carsten Klapp", "Marco Milanesi", "Grant Morgan", "Jan Nieuwenhuizen", "Aredridel Niothke", -"Pablo Roca Rozas", "Sandino Araico S\xE1nchez", "Joel Uckelman", +"Pablo Roca Rozas", "Sandino Araico Sánchez", "Joel Uckelman", "Reini Urban", "Marc-Etienne Vargenau", "Joby Walker", "Tim Voght", "Jochen Kalmbach"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-07-06 20:50:29
|
Revision: 7003 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7003&view=rev Author: vargenau Date: 2009-07-06 20:35:13 +0000 (Mon, 06 Jul 2009) Log Message: ----------- File is UTF-8 Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2009-07-06 19:52:11 UTC (rev 7002) +++ trunk/index.php 2009-07-06 20:35:13 UTC (rev 7003) @@ -1,5 +1,4 @@ <?php // -*-php-*- -// iso-8859-1 /* Copyright 1999,2000,2001,2002,2003,2004,2009 $ThePhpWikiProgrammingTeam @@ -64,4 +63,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2010-05-18 17:01:17
|
Revision: 7411 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7411&view=rev Author: vargenau Date: 2010-05-18 17:01:09 +0000 (Tue, 18 May 2010) Log Message: ----------- There is no "config/config.ini" file for Gforge (config is in "g" file) Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2010-05-18 16:30:28 UTC (rev 7410) +++ trunk/index.php 2010-05-18 17:01:09 UTC (rev 7411) @@ -33,7 +33,11 @@ rcs_id('$Id$'); require_once(dirname(__FILE__).'/lib/IniConfig.php'); -IniConfig(dirname(__FILE__)."/config/config.ini"); +if (!defined('GFORGE') or !GFORGE) { + IniConfig(dirname(__FILE__)."/config/config.ini"); +} else { + IniConfig(dirname(__FILE__)."/config/config-default.ini"); +} //////////////////////////////////////////////////////////////// // PrettyWiki This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2010-08-12 14:47:21
|
Revision: 7642 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7642&view=rev Author: vargenau Date: 2010-08-12 14:47:15 +0000 (Thu, 12 Aug 2010) Log Message: ----------- Update copyright to 2010 Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2010-08-11 13:00:46 UTC (rev 7641) +++ trunk/index.php 2010-08-12 14:47:15 UTC (rev 7642) @@ -1,37 +1,36 @@ <?php // -*-php-*- +// $Id$ /* -Copyright 1999,2000,2001,2002,2003,2004,2009 $ThePhpWikiProgrammingTeam -= array( -"Steve Wainstead", "Clifford A. Adams", "Lawrence Akka", -"Scott R. Anderson", "Jon Åslund", "Neil Brown", "Jeff Dairiki", -"Stéphane Gourichon", "Jan Hidders", "Arno Hollosi", "John Jorgensen", -"Antti Kaihola", "Jeremie Kass", "Carsten Klapp", "Marco Milanesi", -"Grant Morgan", "Jan Nieuwenhuizen", "Aredridel Niothke", -"Pablo Roca Rozas", "Sandino Araico Sánchez", "Joel Uckelman", -"Reini Urban", "Marc-Etienne Vargenau", "Joby Walker", "Tim Voght", -"Jochen Kalmbach"); + * Copyright 1999-2010 $ThePhpWikiProgrammingTeam + * = array( + * "Steve Wainstead", "Clifford A. Adams", "Lawrence Akka", + * "Scott R. Anderson", "Jon Åslund", "Neil Brown", "Jeff Dairiki", + * "Stéphane Gourichon", "Jan Hidders", "Arno Hollosi", "John Jorgensen", + * "Antti Kaihola", "Jeremie Kass", "Carsten Klapp", "Marco Milanesi", + * "Grant Morgan", "Jan Nieuwenhuizen", "Aredridel Niothke", + * "Pablo Roca Rozas", "Sandino Araico Sánchez", "Joel Uckelman", + * "Reini Urban", "Marc-Etienne Vargenau", "Joby Walker", "Tim Voght", + * "Jochen Kalmbach"); + * + * This file is part of PhpWiki. + * + * PhpWiki is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * PhpWiki is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with PhpWiki; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -This file is part of PhpWiki. - -PhpWiki is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -PhpWiki is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with PhpWiki; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - require_once (dirname(__FILE__).'/lib/prepend.php'); -//rcs_id('$Id$'); - require_once(dirname(__FILE__).'/lib/IniConfig.php'); IniConfig(dirname(__FILE__)."/config/config.ini"); @@ -61,5 +60,5 @@ // c-basic-offset: 4 // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil -// End: +// End: ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <var...@us...> - 2012-11-21 13:32:55
|
Revision: 8514 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8514&view=rev Author: vargenau Date: 2012-11-21 13:32:44 +0000 (Wed, 21 Nov 2012) Log Message: ----------- Use version_compare Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2012-11-21 13:31:52 UTC (rev 8513) +++ trunk/index.php 2012-11-21 13:32:44 UTC (rev 8514) @@ -32,8 +32,8 @@ 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."); +if (version_compare(PHP_VERSION, '5.2', '<')) { + exit(_("Your PHP version is too old. You must have at least PHP 5.2.")); } //////////////////////////////////////////////////////////////// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <car...@us...> - 2025-02-14 06:01:02
|
Revision: 11100 http://sourceforge.net/p/phpwiki/code/11100 Author: carstenklapp Date: 2025-02-14 06:01:00 +0000 (Fri, 14 Feb 2025) Log Message: ----------- Execute php checks first. check for common php install problems on windows Modified Paths: -------------- trunk/index.php Modified: trunk/index.php =================================================================== --- trunk/index.php 2025-02-14 05:20:25 UTC (rev 11099) +++ trunk/index.php 2025-02-14 06:01:00 UTC (rev 11100) @@ -31,14 +31,21 @@ * */ + +if (version_compare(PHP_VERSION, '5.3.3', '<')) { + exit("Your PHP version is too old. You must have at least PHP 5.3.3."); +} +if (!function_exists('_')) { + die("The PHP extension 'gettext' is required for PhpWiki. Add: extension=gettext to php.ini"); + //include("upgradephp-19/ext/gettext.php");//experimental for older php versions or where php extensions are not compiled in +} +if (!function_exists('mb_regex_encoding')) { + die("The PHP extension 'mbstring' is required for PhpWiki. Add: extension=mbstring to php.ini"); +} require_once(dirname(__FILE__) . '/lib/prepend.php'); require_once(dirname(__FILE__) . '/lib/IniConfig.php'); IniConfig(dirname(__FILE__) . "/config/config.ini"); -if (version_compare(PHP_VERSION, '5.3.3', '<')) { - exit(_("Your PHP version is too old. You must have at least PHP 5.3.3.")); -} - //////////////////////////////////////////////////////////////// // 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. |