Author: fabien
Date: 2010-03-23 15:54:43 +0100 (Tue, 23 Mar 2010)
New Revision: 28712
Modified:
branches/1.3/data/bin/check_configuration.php
branches/1.4/data/bin/check_configuration.php
Log:
[1.3, 1.4] tweaked the check_configuration.php errors to be more explicit about
what to do next (closes #8369)
Modified: branches/1.3/data/bin/check_configuration.php
===================================================================
--- branches/1.3/data/bin/check_configuration.php 2010-03-23 14:23:17 UTC
(rev 28711)
+++ branches/1.3/data/bin/check_configuration.php 2010-03-23 14:54:43 UTC
(rev 28712)
@@ -77,13 +77,13 @@
$drivers = PDO::getAvailableDrivers();
check(count($drivers), 'PDO has some drivers installed: '.implode(', ',
$drivers), 'Install PDO drivers (mandatory for Propel and Doctrine)');
}
-check(class_exists('DomDocument'), 'PHP-XML module is installed', 'Install the
php-xml module (required by Propel)', false);
-check(class_exists('XSLTProcessor'), 'XSL module is installed', 'Install the
XSL module (recommended for Propel)', false);
-check(function_exists('token_get_all'), 'The token_get_all() function is
available', 'Install token_get_all() function (highly recommended)', false);
-check(function_exists('mb_strlen'), 'The mb_strlen() function is available',
'Install mb_strlen() function', false);
-check(function_exists('iconv'), 'The iconv() function is available', 'Install
iconv() function', false);
-check(function_exists('utf8_decode'), 'The utf8_decode() is available',
'Install utf8_decode() function', false);
-check(function_exists('posix_isatty'), 'The posix_isatty() is available',
'Enable the php_posix extension (used to colorized the CLI output)', false);
+check(class_exists('DomDocument'), 'PHP-XML module is installed', 'Install and
enable the php-xml module (required by Propel)', false);
+check(class_exists('XSLTProcessor'), 'XSL module is installed', 'Install and
enable the XSL module (recommended for Propel)', false);
+check(function_exists('token_get_all'), 'The token_get_all() function is
available', 'Install and enable the Tokenizer extension (highly recommended)',
false);
+check(function_exists('mb_strlen'), 'The mb_strlen() function is available',
'Install and enable the mbstring extension', false);
+check(function_exists('iconv'), 'The iconv() function is available', 'Install
and enable the iconv extension', false);
+check(function_exists('utf8_decode'), 'The utf8_decode() is available',
'Install and enable the XML extension', false);
+check(function_exists('posix_isatty'), 'The posix_isatty() is available',
'Install and enable the php_posix extension (used to colorized the CLI
output)', false);
$accelerator =
(function_exists('apc_store') && ini_get('apc.enabled'))
Modified: branches/1.4/data/bin/check_configuration.php
===================================================================
--- branches/1.4/data/bin/check_configuration.php 2010-03-23 14:23:17 UTC
(rev 28711)
+++ branches/1.4/data/bin/check_configuration.php 2010-03-23 14:54:43 UTC
(rev 28712)
@@ -77,13 +77,13 @@
$drivers = PDO::getAvailableDrivers();
check(count($drivers), 'PDO has some drivers installed: '.implode(', ',
$drivers), 'Install PDO drivers (mandatory for Propel and Doctrine)');
}
-check(class_exists('DomDocument'), 'PHP-XML module is installed', 'Install the
php-xml module (required by Propel)', false);
-check(class_exists('XSLTProcessor'), 'XSL module is installed', 'Install the
XSL module (recommended for Propel)', false);
-check(function_exists('token_get_all'), 'The token_get_all() function is
available', 'Install token_get_all() function (highly recommended)', false);
-check(function_exists('mb_strlen'), 'The mb_strlen() function is available',
'Install mb_strlen() function', false);
-check(function_exists('iconv'), 'The iconv() function is available', 'Install
iconv() function', false);
-check(function_exists('utf8_decode'), 'The utf8_decode() is available',
'Install utf8_decode() function', false);
-check(function_exists('posix_isatty'), 'The posix_isatty() is available',
'Enable the php_posix extension (used to colorized the CLI output)', false);
+check(class_exists('DomDocument'), 'PHP-XML module is installed', 'Install and
enable the php-xml module (required by Propel)', false);
+check(class_exists('XSLTProcessor'), 'XSL module is installed', 'Install and
enable the XSL module (recommended for Propel)', false);
+check(function_exists('token_get_all'), 'The token_get_all() function is
available', 'Install and enable the Tokenizer extension (highly recommended)',
false);
+check(function_exists('mb_strlen'), 'The mb_strlen() function is available',
'Install and enable the mbstring extension', false);
+check(function_exists('iconv'), 'The iconv() function is available', 'Install
and enable the iconv extension', false);
+check(function_exists('utf8_decode'), 'The utf8_decode() is available',
'Install and enable the XML extension', false);
+check(function_exists('posix_isatty'), 'The posix_isatty() is available',
'Install and enable the php_posix extension (used to colorized the CLI
output)', false);
$accelerator =
(function_exists('apc_store') && ini_get('apc.enabled'))
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.