[geeklog-jp commit] r742 - trunk/plugins/tkgmaps

Back to archive index

codes****@googl***** codes****@googl*****
2008年 9月 26日 (金) 15:31:38 JST


Author: hirorongl
Date: Thu Sep 25 23:28:49 2008
New Revision: 742

Modified:
    trunk/plugins/tkgmaps/config.php
    trunk/plugins/tkgmaps/functions.inc

Log:
tkgmapsにインクルード対策をおこなう

Modified: trunk/plugins/tkgmaps/config.php
==============================================================================
--- trunk/plugins/tkgmaps/config.php	(original)
+++ trunk/plugins/tkgmaps/config.php	Thu Sep 25 23:28:49 2008
@@ -54,7 +54,7 @@

  $_TKGMAPS_CONF['loginrequired'] = 0;

-$_TKGMAPS_CONF['version']       = '0.9.1';   // Plugin Version
+$_TKGMAPS_CONF['version']       = '0.9.2';   // Plugin Version

  // Add to $_TABLES array the tables your plugin uses


Modified: trunk/plugins/tkgmaps/functions.inc
==============================================================================
--- trunk/plugins/tkgmaps/functions.inc	(original)
+++ trunk/plugins/tkgmaps/functions.inc	Thu Sep 25 23:28:49 2008
@@ -58,7 +58,7 @@
  * You need to change all instances of tkgmaps with the name of your plugin.
  */

-if (strpos ($_SERVER['PHP_SELF'], 'functions.inc') !== false) {
+if (strpos ( strtolower($_SERVER['PHP_SELF']), 'functions.inc') !== false)  
{
      die ('This file can not be used on its own.');
  }




Geeklogjp-changes メーリングリストの案内
Back to archive index