Notice fixed and RewriteEngine enabled in .htaccess
[mailer.git] / inc / session.php
index f977003be9677446edbb7a3c08b1f14050375afe..1d5a04c60b7839f2dcd2527aef3be31b6547e3fd 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();
 }