eguide/admin/index.php の変更
@@ -12,10 +12,10 @@
function css_tags() { return array("even","odd"); }
if ($op == 'summary_csv') summary_csv();
+global $mydirpath, $mydirname;
+$mydirpath = dirname(dirname(__FILE__));
+$mydirname = basename($mydirpath);
if( ! empty( $_GET['lib'] ) ) {
- global $mydirpath, $mydirname;
- $mydirpath = dirname(dirname(__FILE__));
- $mydirname = basename($mydirpath);
// common libs (eg. altsys)
$lib = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , $_GET['lib'] ) ;
$page = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , @$_GET['page'] ) ;
--
安冨 伸浩 (マイサイト管理人)
安冨 伸浩 (マイサイト管理人)