diff --git a/web/zm_html.php b/web/zm_html.php index e779d1762..ae2d43ee6 100644 --- a/web/zm_html.php +++ b/web/zm_html.php @@ -28,12 +28,11 @@ ini_set( "session.use_trans_sid", "0" ); ini_set( "session.name", "ZMSESSID" ); //ini_set( "magic_quotes_gpc", "Off" ); -//session_start(); - require_once( 'zm_config.php' ); if ( ZM_OPT_USE_AUTH ) { + session_start(); $user = $HTTP_SESSION_VARS[user]; define( "ZMU_COMMAND", ZMU_PATH." -U $HTTP_SESSION_VARS[username] -P $HTTP_SESSION_VARS[password]" ); }