Changeset 19987 for branches/version-2_5-dev/data/class
- Timestamp:
- 2011/01/19 19:56:55 (15 years ago)
- Location:
- branches/version-2_5-dev/data/class
- Files:
-
- 5 edited
-
SC_Initial.php (modified) (1 diff)
-
SC_View.php (modified) (3 diffs)
-
helper/SC_Helper_Mobile.php (modified) (1 diff)
-
pages/LC_Page_ResizeImage.php (modified) (1 diff)
-
pages/error/LC_Page_Error_SystemError.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_Initial.php
r19972 r19987 235 235 if (defined("HTML_REALDIR")) { 236 236 umask(0); 237 if (!file_exists(COMPILE_ DIR)) {238 mkdir(COMPILE_ DIR);237 if (!file_exists(COMPILE_REALDIR)) { 238 mkdir(COMPILE_REALDIR); 239 239 } 240 240 -
branches/version-2_5-dev/data/class/SC_View.php
r19983 r19987 211 211 212 212 $this->_smarty->template_dir = TEMPLATE_REALDIR; 213 $this->_smarty->compile_dir = COMPILE_ DIR;213 $this->_smarty->compile_dir = COMPILE_REALDIR; 214 214 215 215 $this->assignTemplatePath(DEVICE_TYPE_PC); … … 224 224 225 225 class SC_UserView extends SC_SiteView{ 226 function SC_UserView($template_dir, $compile_dir = COMPILE_ DIR) {226 function SC_UserView($template_dir, $compile_dir = COMPILE_REALDIR) { 227 227 parent::SC_SiteView(); 228 228 $this->_smarty->template_dir = $template_dir; … … 232 232 233 233 class SC_InstallView extends SC_View{ 234 function SC_InstallView($template_dir, $compile_dir = COMPILE_ DIR) {234 function SC_InstallView($template_dir, $compile_dir = COMPILE_REALDIR) { 235 235 parent::SC_View(false); 236 236 $this->_smarty->template_dir = $template_dir; -
branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php
r19972 r19987 227 227 function lfMobileInitOutput() { 228 228 // Smarty 用のディレクトリーを作成する。 229 @mkdir(COMPILE_ DIR);229 @mkdir(COMPILE_REALDIR); 230 230 231 231 // 出力用のエンコーディングを Shift JIS に固定する。 -
branches/version-2_5-dev/data/class/pages/LC_Page_ResizeImage.php
r19805 r19987 55 55 $objThumb = new gdthumb(); 56 56 57 $file = NO_IMAGE_ DIR;57 $file = NO_IMAGE_REALDIR; 58 58 59 // NO_IMAGE_ DIR以外のファイル名が渡された場合、ファイル名のチェックを行う60 if (strlen($_GET['image']) >= 1 && $_GET['image'] !== NO_IMAGE_ DIR) {59 // NO_IMAGE_REALDIR以外のファイル名が渡された場合、ファイル名のチェックを行う 60 if (strlen($_GET['image']) >= 1 && $_GET['image'] !== NO_IMAGE_REALDIR) { 61 61 62 62 // ファイル名が正しく、ファイルが存在する場合だけ、$fileを設定 -
branches/version-2_5-dev/data/class/pages/error/LC_Page_Error_SystemError.php
r19807 r19987 80 80 $objView = new SC_AdminView(); 81 81 } else { 82 $objView = new SC_InstallView(TEMPLATE_REALDIR, COMPILE_ DIR);82 $objView = new SC_InstallView(TEMPLATE_REALDIR, COMPILE_REALDIR); 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.
