$scriptは、global変数とはせず、get_script_uriを呼んで相対uriを取得。。

*** make_link.php.org	Fri Apr 20 09:35:55 2007
--- make_link.php	Fri Apr 20 09:45:33 2007
***************
*** 706,713 ****
  // Make hyperlink for the page
  function make_pagelink($page, $alias = '', $anchor = '', $refer = '', $isautolink = FALSE)
  {
! 	global $script, $vars, $link_compact, $related, $_symbol_noexists;
  
  	$s_page = htmlspecialchars(strip_bracket($page));
  	$s_alias = ($alias == '') ? $s_page : $alias;
  
--- 706,714 ----
  // Make hyperlink for the page
  function make_pagelink($page, $alias = '', $anchor = '', $refer = '', $isautolink = FALSE)
  {
! 	global $vars, $link_compact, $related, $_symbol_noexists;
  
+ 	$script = get_script_uri('rel');
  	$s_page = htmlspecialchars(strip_bracket($page));
  	$s_alias = ($alias == '') ? $s_page : $alias;


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2007-07-02 (月) 20:20:07
Site admin: PukiWiki Development Team

PukiWiki 1.5.3+ © 2001-2020 PukiWiki Development Team. Powered by PHP 5.6.40-0+deb8u12. HTML convert time: 1.586 sec.

OSDN