<?php

namespace App\Http\Controllers\Frontend;

use App\Http\Controllers\Controller;

// 前台基类控制器
class FrontendController extends Controller
{
	// function __construct() {
	// 	if ($_SERVER['HTTP_HOST'] == "waimao.test") {
	// 		if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'off'){
	// 		    Header("HTTP/1.1 301 Moved Permanently");
	// 		    header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
	// 		}
	// 	}
	// }
}
