diff options
author | M.Gergo | 2018-07-06 11:14:41 +0200 |
---|---|---|
committer | M.Gergo | 2018-07-06 11:14:41 +0200 |
commit | 43de9af71f7f4ca5731b94a06d688ae8412ba427 (patch) | |
tree | 54835de1dfcda504c02da261f0dc26885aed2e89 /mayor-orig/wiki | |
parent | 50310b0e4513ee3fcce67351ae61e8fff851130e (diff) | |
download | mayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.tar.gz mayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.zip |
2018/Feb/28 -i állapot hozzáadva, mint a módosítások kiindulási állapota
Diffstat (limited to 'mayor-orig/wiki')
-rw-r--r-- | mayor-orig/wiki/dok.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mayor-orig/wiki/dok.php b/mayor-orig/wiki/dok.php new file mode 100644 index 00000000..7cbb8ff9 --- /dev/null +++ b/mayor-orig/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>'; +} + +?> |