diff options
author | M.Gergo | 2019-03-08 21:20:34 +0100 |
---|---|---|
committer | M.Gergo | 2019-03-08 21:20:34 +0100 |
commit | f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 (patch) | |
tree | e13e60e4b94a3b58f1e2bfbe271102c8f04b67bd /mayor-orig/mayor-base/wiki/dok.php | |
parent | c76a004b0135786f2742283f8d5f917106f58bd8 (diff) | |
download | mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.tar.gz mayor-f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0.zip |
további rendrakás
Diffstat (limited to 'mayor-orig/mayor-base/wiki/dok.php')
-rw-r--r-- | mayor-orig/mayor-base/wiki/dok.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mayor-orig/mayor-base/wiki/dok.php b/mayor-orig/mayor-base/wiki/dok.php new file mode 100644 index 00000000..7cbb8ff9 --- /dev/null +++ b/mayor-orig/mayor-base/wiki/dok.php @@ -0,0 +1,28 @@ +<?php + + // Ez egy redirector... + + +if (file_exists($_SERVER["DOCUMENT_ROOT"].'/wiki/doku.php')) { + + header('Location:'.str_replace('dok.php','doku.php',$_SERVER['REQUEST_URI'])); + +} else { + header('Refresh: 5,http://wiki.mayor.hu/'.str_replace('/wiki/dok.php','doku.php',$_SERVER['REQUEST_URI'])); + + echo '<?xml version="1.0" encoding="utf-8"?> + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> + <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>Átirányítás</title> + </head> + <body>'; + + echo '<h1>Átirányítás</h1>'; + echo '<p>Nincs helyi Help modul telepítve, ezért másodperceken belül átirányítjuk a http://wiki.mayor.hu központi help oldalra...</p>'; + + echo '</body></head>'; +} + +?> |