Notice fixed and RewriteEngine enabled in .htaccess
[mailer.git] / inc / session.php
index f977003..1d5a04c 100644 (file)
@@ -47,15 +47,12 @@ if (empty($VIEW))  $VIEW  = 0;
 if (($VIEW == 1) && ($_SERVER['PHP_SELF'])) return;
 
 // Session management initalization
-if (empty($PHPSESSID))
-{
+if (empty($PHPSESSID)) {
        // This fixes some strange session cookie problems
        if (empty($_COOKIE['PHPSESSID'])) unset($_COOKIE['PHPSESSID']);
        @session_start();
        $PHPSESSID = @session_id();
-}
- else
-{
+} else {
        @session_id($PHPSESSID);
        @session_start();
 }