1
0
mirror of https://github.com/php/web-gtk.git synced 2026-03-24 15:22:06 +01:00
Files
archived-web-gtk/include/prepend.php
2016-02-21 15:55:47 -03:00

12 lines
209 B
PHP

<?php
if (isset($_SERVER['PATH_INFO'])) {
$clean = str_replace($_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF']);
header("Location: $clean");
exit;
}
require_once 'site.php';
require_once 'layout.php';
?>