install_goto
includes/install.inc, строка 571
- Версии
- 5 – 6
install_goto($path)
Send the user to a different installer page. This issues an on-site HTTP redirect. Messages (and errors) are erased.
Параметры
$path
An installer path.
Код
<?php
function install_goto($path) {
global $base_url;
header('Location: '. $base_url . '/' . $path);
header('Cache-Control: no-cache'); // Not a permanent redirect.
exit();
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии