M1开启维护模式并设置允许指定ip访问M1里开启维护模式在项目根目录下:touch maintenance.flag允许指定ip访问,修改index.php添加$ip = $_SERVER['REMOTE_ADDR']; $allowed_ips = array('171.83.45.11','你的电脑ip'); // Change the IPs 1.2.3.4 and 2.3.4.5 to the IP addresses of the developers that should have access while in maintenance mode....