]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for ticket #2471: install.php returns unsuccessfully but doesn't display error...
authorBrion Vibber <brion@pobox.com>
Fri, 30 Jul 2010 20:16:47 +0000 (13:16 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 30 Jul 2010 20:16:47 +0000 (13:16 -0700)
http://status.net/open-source/issues/2471

Old bit of code didn't get updated for new installer

lib/installer.php

index bd9d69cd4a0471cd86e8184ac684f18b26d9c4ce..ff2bed1403adad3508dfe0847afe5b4e7aa8f923 100644 (file)
@@ -91,7 +91,7 @@ abstract class Installer
         }
 
         if (version_compare(PHP_VERSION, '5.2.3', '<')) {
-            $errors[] = 'Require PHP version 5.2.3 or greater.';
+            $this->warning('Require PHP version 5.2.3 or greater.');
             $pass = false;
         }