hook 함수명 수정

This commit is contained in:
thisgun committed 2019-03-18 16:19:11 +09:00
1 parent 9af0d855b3
commit eb803ae9c9
35 files changed
+80 -80

No files matched your search

+2 -2
View File
@@ -100,7 +100,7 @@ class G5_URI {
$url=parse_url($string_url);
$page_name = basename($url['path'],".php");
$array_page_names = apply_replace('url_clean_page_names', array('board', 'write'));
$array_page_names = run_replace('url_clean_page_names', array('board', 'write'));
if( strpos($string_url, G5_BBS_URL) === false || ! in_array($page_name, $array_page_names) ){ //게시판이 아니면 리턴
return $string_url;
@@ -142,7 +142,7 @@ class G5_URI {
if( isset($url['host']) ){
$array_file_paths = apply_replace('url_clean_page_paths', array('/'.G5_BBS_DIR.'/board.php', '/'.G5_BBS_DIR.'/write.php'));
$array_file_paths = run_replace('url_clean_page_paths', array('/'.G5_BBS_DIR.'/board.php', '/'.G5_BBS_DIR.'/write.php'));
$str_path = isset($url['path']) ? $url['path'] : '';
$http = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') ? 'https://' : 'http://';