diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-26 23:11:48 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-26 23:11:48 +0000 |
commit | 10682a7e334c5f5e0d805c974007fc5518023986 (patch) | |
tree | 634a32d9487791c929150ab3c42f6ef3ebc47a98 /install | |
parent | 92cfe78f70407552bc3128640d28c2f969b28161 (diff) | |
download | elgg-10682a7e334c5f5e0d805c974007fc5518023986.tar.gz elgg-10682a7e334c5f5e0d805c974007fc5518023986.tar.bz2 |
Fixes #2799 added check for session.auto_start
git-svn-id: http://code.elgg.org/elgg/trunk@8499 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'install')
-rw-r--r-- | install/ElggInstaller.php | 7 | ||||
-rw-r--r-- | install/languages/en.php | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php index aa5903a08..562cdff87 100644 --- a/install/ElggInstaller.php +++ b/install/ElggInstaller.php @@ -1024,6 +1024,13 @@ class ElggInstaller { 'message' => elgg_echo("install:check:php:register_globals") ); } + + if (ini_get('session.auto_start')) { + $phpReport[] = array( + 'severity' => 'failure', + 'message' => elgg_echo("install:check:php:session.auto_start") + ); + } } /** diff --git a/install/languages/en.php b/install/languages/en.php index ed42aa685..73a862cd0 100644 --- a/install/languages/en.php +++ b/install/languages/en.php @@ -42,6 +42,7 @@ If you are ready to proceed, click the Next button.", 'install:check:php:safe_mode' => 'Running PHP in safe mode is not recommened and may cause problems with Elgg.', 'install:check:php:arg_separator' => 'arg_separator.output must be & for Elgg to work and your server\'s value is %s', 'install:check:php:register_globals' => 'Register globals must be turned off.', + 'install:check:php:session.auto_start' => "session.auto_start must be off for Elgg to work. Either change the configuration of your server or add this directive to Elgg's .htaccess file.", 'install:check:enginedir' => 'Your web server does not have permission to create the settings.php file in the engine directory. You have two choices: |