|
From: <rgr...@us...> - 2014-05-12 14:20:16
|
Revision: 12528
http://sourceforge.net/p/xoops/svn/12528
Author: rgriffith
Date: 2014-05-12 14:20:13 +0000 (Mon, 12 May 2014)
Log Message:
-----------
Correct PHP version requirement. Remove mainfile.php from file permission list.
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/config.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/welcome.php
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/config.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/config.php 2014-05-11 10:42:07 UTC (rev 12527)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/config.php 2014-05-12 14:20:13 UTC (rev 12528)
@@ -40,17 +40,26 @@
// extension_loaded
$configs['extensions'] = array(
- 'mbstring' => array('MBString', sprintf( PHP_EXTENSION, CHAR_ENCODING ) ),
- 'iconv' => array('Iconv', sprintf( PHP_EXTENSION, ICONV_CONVERSION) ),
- 'xml' => array('XML', sprintf( PHP_EXTENSION, XML_PARSING) ),
- 'zlib' => array('Zlib', sprintf( PHP_EXTENSION, ZLIB_COMPRESSION) ),
- 'gd' => array(( function_exists('gd_info') && $gdlib = @gd_info()) ? 'GD ' . $gdlib['GD Version'] : '', sprintf( PHP_EXTENSION, IMAGE_FUNCTIONS) ),
- 'exif' => array('Exif', sprintf( PHP_EXTENSION, IMAGE_METAS) ),
- 'filter' => array('Filter', sprintf( PHP_EXTENSION, FILTER_FUNCTIONS) ),
+ 'mbstring' => array('MBString', sprintf(PHP_EXTENSION, CHAR_ENCODING)),
+ 'iconv' => array('Iconv', sprintf(PHP_EXTENSION, ICONV_CONVERSION)),
+ 'xml' => array('XML', sprintf(PHP_EXTENSION, XML_PARSING)),
+ 'zlib' => array('Zlib', sprintf(PHP_EXTENSION, ZLIB_COMPRESSION)),
+ 'gd' => array((function_exists('gd_info') && $gdlib = @gd_info()) ? 'GD ' . $gdlib['GD Version'] : '', sprintf(PHP_EXTENSION, IMAGE_FUNCTIONS)),
+ 'exif' => array('Exif', sprintf(PHP_EXTENSION, IMAGE_METAS)),
+ 'filter' => array('Filter', sprintf(PHP_EXTENSION, FILTER_FUNCTIONS)),
);
// Writable files and directories
-$configs['writable'] = array('uploads/', 'uploads/avatars/', 'uploads/images/', 'uploads/ranks/', 'uploads/smilies/','xoops_lib/modules/protector/configs/', 'mainfile.php', 'include/license.php');
+$configs['writable'] = array(
+ 'uploads/',
+ 'uploads/avatars/',
+ 'uploads/images/',
+ 'uploads/ranks/',
+ 'uploads/smilies/',
+ 'xoops_lib/modules/protector/configs/',
+ //'mainfile.php',
+ 'include/license.php',
+);
// Modules to be installed by default
$configs['modules'] = array();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/welcome.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/welcome.php 2014-05-11 10:42:07 UTC (rev 12527)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/install/language/english/welcome.php 2014-05-12 14:20:13 UTC (rev 12528)
@@ -19,7 +19,7 @@
<h3>Requirements</h3>
<ul>
<li>WWW Server (<a href="http://www.apache.org/" rel="external">Apache</a>, IIS, Roxen, etc)</li>
- <li><a href="http://www.php.net/" rel="external">PHP</a> 5.2 or higher </li>
+ <li><a href="http://www.php.net/" rel="external">PHP</a> 5.3.7 or higher </li>
<li><a href="http://www.mysql.com/" rel="external">MySQL</a> 5.1 or higher </li>
</ul>
<h3>Before you install</h3>
|