OSDN Git Service

FIX:アップグレードスクリプトがNucleus3.6上で動作するように修正
[nucleus-jp/nucleus-next.git] / nucleus / upgrades / index.php
index 74720cc..c806652 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
- * Copyright (C) 2002-2009 The Nucleus Group
+ * Copyright (C) 2002-2012 The Nucleus Group
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -11,7 +11,7 @@
  */
 /**
  * @license http://nucleuscms.org/license.txt GNU General Public License
- * @copyright Copyright (C) 2002-2009 The Nucleus Group
+ * @copyright Copyright (C) 2002-2012 The Nucleus Group
  * @version $Id: index.php 1690 2012-03-08 22:45:08Z ftruscot $
  *
  */
        <p> A manual addition needs to be made to <em>config.php</em>, in order to get the media functions to work. Here's what to add: </p>
        <pre>
        // path to media dir
-       $DIR_MEDIA = '<strong><?php echo i18n;;hsc($guess)?></strong>';
+       $DIR_MEDIA = '<strong><?php echo htmlspecialchars($guess)?></strong>';
        </pre>
 
        <p> Also, it will be necessary to create that directory yourself. If you want to make file upload possible, you should set the permissions of the media/ directory to 777 (see the documentation/tips.html in Nucleus 0.96+ for a quick guide on setting permissions). </p>
        <p> A manual addition needs to be made to <i>config.php</i>, in order to get imported skins to work correctly. Here's what to add: </p>
        <pre>
        // extra skin files for imported skins
-       $DIR_SKINS = '<strong><?php echo i18n;;hsc($guess)?></strong>';
+       $DIR_SKINS = '<strong><?php echo htmlspecialchars($guess)?></strong>';
        </pre>
 
        <p> Also, it will be necessary to create this directory yourself. Downloaded skins can then be expanded into that directory and be imported from inside the Nucleus admin area. </p>