Index: branches/version-2_5-dev/data/class/SC_Initial.php
===================================================================
--- branches/version-2_5-dev/data/class/SC_Initial.php	(revision 19972)
+++ branches/version-2_5-dev/data/class/SC_Initial.php	(revision 19987)
@@ -235,6 +235,6 @@
         if (defined("HTML_REALDIR")) {
             umask(0);
-            if (!file_exists(COMPILE_DIR)) {
-                mkdir(COMPILE_DIR);
+            if (!file_exists(COMPILE_REALDIR)) {
+                mkdir(COMPILE_REALDIR);
             }
 
Index: branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php
===================================================================
--- branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php	(revision 19972)
+++ branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php	(revision 19987)
@@ -227,5 +227,5 @@
     function lfMobileInitOutput() {
         // Smarty 用のディレクトリーを作成する。
-        @mkdir(COMPILE_DIR);
+        @mkdir(COMPILE_REALDIR);
 
         // 出力用のエンコーディングを Shift JIS に固定する。
Index: branches/version-2_5-dev/data/class/SC_View.php
===================================================================
--- branches/version-2_5-dev/data/class/SC_View.php	(revision 19983)
+++ branches/version-2_5-dev/data/class/SC_View.php	(revision 19987)
@@ -211,5 +211,5 @@
 
         $this->_smarty->template_dir = TEMPLATE_REALDIR;
-        $this->_smarty->compile_dir = COMPILE_DIR;
+        $this->_smarty->compile_dir = COMPILE_REALDIR;
 
         $this->assignTemplatePath(DEVICE_TYPE_PC);
@@ -224,5 +224,5 @@
 
 class SC_UserView extends SC_SiteView{
-    function SC_UserView($template_dir, $compile_dir = COMPILE_DIR) {
+    function SC_UserView($template_dir, $compile_dir = COMPILE_REALDIR) {
         parent::SC_SiteView();
         $this->_smarty->template_dir = $template_dir;
@@ -232,5 +232,5 @@
 
 class SC_InstallView extends SC_View{
-    function SC_InstallView($template_dir, $compile_dir = COMPILE_DIR) {
+    function SC_InstallView($template_dir, $compile_dir = COMPILE_REALDIR) {
         parent::SC_View(false);
         $this->_smarty->template_dir = $template_dir;
Index: branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_SystemError.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_SystemError.php	(revision 19807)
+++ branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_SystemError.php	(revision 19987)
@@ -80,5 +80,5 @@
             $objView = new SC_AdminView();
         } else {
-            $objView = new SC_InstallView(TEMPLATE_REALDIR, COMPILE_DIR);
+            $objView = new SC_InstallView(TEMPLATE_REALDIR, COMPILE_REALDIR);
         }
 
Index: branches/version-2_5-dev/data/class/pages/LC_Page_ResizeImage.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/LC_Page_ResizeImage.php	(revision 19805)
+++ branches/version-2_5-dev/data/class/pages/LC_Page_ResizeImage.php	(revision 19987)
@@ -55,8 +55,8 @@
         $objThumb = new gdthumb();
 
-        $file = NO_IMAGE_DIR;
+        $file = NO_IMAGE_REALDIR;
 
-        // NO_IMAGE_DIR以外のファイル名が渡された場合、ファイル名のチェックを行う
-        if (strlen($_GET['image']) >= 1 && $_GET['image'] !== NO_IMAGE_DIR) {
+        // NO_IMAGE_REALDIR以外のファイル名が渡された場合、ファイル名のチェックを行う
+        if (strlen($_GET['image']) >= 1 && $_GET['image'] !== NO_IMAGE_REALDIR) {
 
             // ファイル名が正しく、ファイルが存在する場合だけ、$fileを設定
