aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ElggInstaller.php7
-rw-r--r--install/languages/en.php1
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: