Pridana podpora pro customizaci uvodni stranky
[mirrors/SokoMan.git] / index.php
index ced23c4aae5369ccfdbc6113acf714d9c0b2cfda..110efbe8a9b263f7566968ca94fc2b5ea4643b69 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -905,6 +905,7 @@ class Sklad_UI {
                }
 
                $PATH_INFO=@trim($_SERVER[PATH_INFO]);
+               if($PATH_INFO == '' || $PATH_INFO == '/') $PATH_INFO = FRONTEND_PAGE_WELCOME;
                $PATH_CHUNKS = preg_split('/\//', $PATH_INFO);
                //Sephirot:
                if(!isset($PATH_CHUNKS[1])) $PATH_CHUNKS[1]='';
This page took 0.095549 seconds and 4 git commands to generate.