[Pyukiwiki-cvs 0010129] CVS update: PyukiWiki-Devel/lib

Back to archive index

PyukiWiki CVS Commit pyuki****@lists*****
2012年 3月 22日 (木) 21:01:54 JST


Index: PyukiWiki-Devel/lib/wiki.cgi
diff -u PyukiWiki-Devel/lib/wiki.cgi:1.755 PyukiWiki-Devel/lib/wiki.cgi:1.756
--- PyukiWiki-Devel/lib/wiki.cgi:1.755	Thu Mar 22 20:27:13 2012
+++ PyukiWiki-Devel/lib/wiki.cgi	Thu Mar 22 21:01:54 2012
@@ -1,6 +1,6 @@
 ######################################################################
 # wiki.cgi - This is PyukiWiki, yet another Wiki clone.
-# $Id: wiki.cgi,v 1.755 2012/03/22 11:27:13 papu Exp $
+# $Id: wiki.cgi,v 1.756 2012/03/22 12:01:54 papu Exp $
 #
 # "PyukiWiki" ver 0.2.0-p3-dev2 $$
 # Copyright (C) 2004-2012 Nekyo
@@ -1084,7 +1084,6 @@
 sub jscss_include {
 	my($name)=@_;
 	my $head;
-	my $dir="$skin_dir";
 
 	if(!$::jscss_included{$name}) {
 		$::jscss_included{$name}=1;
@@ -1095,11 +1094,11 @@
 			if($result ne '') {
 				if($result=~/\.js$/) {
 					$head.=<<EOM;
-<script type="text/javascript" src="$dir/$result" charset="$::charset"></script>
+<script type="text/javascript" src="$::skin_url/$result" charset="$::charset"></script>
 EOM
 				} elsif($result=~/\.css$/) {
 					$head.=<<EOM;
-<link rel="stylesheet" href="$dir/$result" type="text/css" media="screen" charset="$::charset" />
+<link rel="stylesheet" href="$::skin_url/$result" type="text/css" media="screen" charset="$::charset" />
 EOM
 				}
 			}



Pyukiwiki-cvs メーリングリストの案内
Back to archive index