This repository has been archived on 2024-07-18. You can view files and clone it, but cannot push or open issues or pull requests.
lwb5/scripts/lib/engines/redirect.inc

35 lines
516 B
PHP
Raw Normal View History

2016-01-10 11:01:49 +01:00
<?php
class display_engine {
function maintenance($maintenance) {
$this->redirect = makeLink('main', 'index');
$this->outputData();
}
function displayFatalError($code, $i, $i2) {
header("Location: http://www.legacyworlds.com");
}
function handleInput() {
$this->redirect = handler::$h->redirect(input::$input);
}
function outputData() {
header("Location: {$this->redirect}");
}
function initSession() {
session::handle(false);
}
function checkAuth() { }
function initRPC() { }
}