I Have an question:
How to fixed error Notice: Undefined index: HTTPS in.
This is line code:
public static function Redirect($path = FALSE) {
$_BASE_URL = $_SERVER["HTTPS"].'/';
if(isset($path)){
header("location:" . $_BASE_URL . $path);
//exit();
}
else {
header("location:" . $_BASE_URL);
//exit();
}
}
The line with error:
$_BASE_URL = $_SERVER["HTTPS"].'/';
If need, i post the code complete here.
Thank You.