diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-08 17:41:38 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-08 17:41:38 +0000 |
| commit | c77a354b0f950a250c8460ecef58d94805d28495 (patch) | |
| tree | 76f243041f2d204cd9e69a310ddfae473c9c5f94 | |
| parent | f42692583d8f3bbee9eafc3f6687876548d67da7 (diff) | |
Start session before content is sent
git-svn-id: https://svn.roundcube.net/trunk@1270 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/installer/index.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/roundcubemail/installer/index.php b/roundcubemail/installer/index.php index 69e33f870..446b6a4e3 100644 --- a/roundcubemail/installer/index.php +++ b/roundcubemail/installer/index.php @@ -1,3 +1,11 @@ +<?php + +ini_set('error_reporting', E_ALL&~E_NOTICE); +ini_set('display_errors', 1); + +session_start(); + +?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -23,10 +31,6 @@ <div id="content"> <?php - ini_set('error_reporting', E_ALL&~E_NOTICE); - ini_set('display_errors', 1); - - session_start(); $docroot = realpath(dirname(__FILE__) . '/../'); $include_path = $docroot . '/program/lib' . PATH_SEPARATOR . $docroot . '/program' . PATH_SEPARATOR . ini_get('include_path'); |
