]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #3146 from owncloud/restart-hint
authorMorris Jobke <morris.jobke@gmail.com>
Sat, 27 Apr 2013 15:19:08 +0000 (08:19 -0700)
committerMorris Jobke <morris.jobke@gmail.com>
Sat, 27 Apr 2013 15:19:08 +0000 (08:19 -0700)
web_server_restart needs to be true to display the hint

1  2 
lib/util.php

diff --cc lib/util.php
index a67865d442b0db425187bf09ec99deaf2506ae0c,d7401c549634e37d438c9f5a7e0652ee00173252..382c2efce758fbbc15734e74b5ab444fde295ced
@@@ -285,13 -284,8 +285,13 @@@ class OC_Util 
                        || (ini_get("safe_mode") == 1 ))) {
                        $errors[]=array('error'=>'PHP Safe Mode is enabled. ownCloud requires that it is disabled to work properly.',
                                'hint'=>'PHP Safe Mode is a deprecated and mostly useless setting that should be disabled. Please ask your server administrator to disable it in php.ini or in your webserver config.');
-                       $web_server_restart= false;
+                       $web_server_restart=true;
                }
 +              if (get_magic_quotes_gpc() == 1 ) {
 +                      $errors[]=array('error'=>'Magic Quotes is enabled. ownCloud requires that it is disabled to work properly.',
 +                              'hint'=>'Magic Quotes is a deprecated and mostly useless setting that should be disabled. Please ask your server administrator to disable it in php.ini or in your webserver config.');
 +                      $web_server_restart=true;
 +              }
  
                if($web_server_restart) {
                        $errors[]=array('error'=>'PHP modules have been installed, but they are still listed as missing?',