session_start 位置调整，避免warning：Cannot send session cookie - headers already sent by
从main.php调整到index.php