Improve the check for session support in Install Tool (see #1474). Thanks to Martin...
authorMichael Stucki <michael.stucki@typo3.org>
Mon, 30 Apr 2007 09:48:46 +0000 (09:48 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Mon, 30 Apr 2007 09:48:46 +0000 (09:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2308 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/install/mod/class.tx_install.php

index 26da534..bd098a2 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-30  Michael Stucki  <michael@typo3.org>
+
+       * Improve the check for session support in Install Tool (see #1474). Thanks to Martin Kutschker!
+
 2007-04-30  Oliver Hader  <oh@inpublica.de>
 
        * Fixed feature request #5424: Menu cache expire time should be configurable
index 8aea020..f15e53c 100755 (executable)
@@ -1583,8 +1583,7 @@ From sub-directory:
                } else $this->message($ext, 'open_basedir: off',"",-1);
 
                        // Check availability of PHP session support
-                       // No check possible if session support is availiable, instead check if session name is set, if not raise error as its likely to have no session support
-               if (ini_get('session.name')) {
+               if (extension_loaded('session')) {
                        $this->message($ext, 'PHP sessions availiable','
                                <i>PHP Sessions availiabe</i>
                                PHP is compiled with session support and session support is available.