未登录的用户不可进入除Login.php页面以外的任何页面

public function __construct(){
        parent::__construct();
        if(is_numeric($_COOKIE['App_phone'])){
            $_SESSION['App_phone'] = $_COOKIE['App_phone'];
        }
        if(!in_array($_GET['m'], ['login', 'vip', 'pre_pay', 'to_pay', 'index']) && (!isset($_SESSION['App_phone']) || $_SESSION['App_phone'] == '')){
            
            redirect('http://a3lsewt4.site.mutaoinc.net/?c=app&m=login');
        }
        
    }