mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
added sreach wrapper
This commit is contained in:
parent
d2efdc212e
commit
15cc5a13a0
1 changed files with 16 additions and 0 deletions
16
web/search/index.php
Normal file
16
web/search/index.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
// Init
|
||||
error_reporting(NULL);
|
||||
ob_start();
|
||||
session_start();
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
$back=getenv("HTTP_REFERER");
|
||||
if (!empty($back)) {
|
||||
header("Location: ".$back);
|
||||
exit;
|
||||
}
|
||||
|
||||
header("Location: /");
|
||||
|
||||
exit;
|
Loading…
Add table
Add a link
Reference in a new issue