1
0
mirror of https://github.com/php/web-gtk.git synced 2026-03-24 07:12:19 +01:00
Files
archived-web-gtk/include/prepend.php
2015-12-14 18:01:15 -02: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';
?>