stylesheet 잘못 불러오는 문제 해결.
jquery.redirect 추가. global 변수 extract 우회가 제대로 동작하지 않던 문제 해결
This commit is contained in:
+12
-2
@@ -102,13 +102,23 @@ function extractSuperGlobals()
|
||||
if (isset($_POST) && count($_POST) > 0) {
|
||||
LogText($_SERVER['REQUEST_URI'], $_POST);
|
||||
|
||||
extract($_POST, EXTR_SKIP);
|
||||
foreach($_POST as $key=>$val){
|
||||
if(isset($GLOBALS[$key])){
|
||||
continue;
|
||||
}
|
||||
$GLOBALS[$key]=$val;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_GET) && count($_GET) > 0) {
|
||||
LogText($_SERVER['REQUEST_URI'], $_GET);
|
||||
|
||||
extract($_POST, EXTR_SKIP);
|
||||
foreach($_GET as $key=>$val){
|
||||
if(isset($GLOBALS[$key])){
|
||||
continue;
|
||||
}
|
||||
$GLOBALS[$key]=$val;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user