Changeset 16145


Ignore:
Timestamp:
2007/09/28 12:17:13 (16 years ago)
Author:
nanasess
Message:

MOBILE_COMPILE_DIR を自動生成するように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/conf/mobile_conf.php

    r15532 r16145  
    11<?php 
    22/** 
    3  *  
     3 * 
    44 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 
    55 * 
    66 * http://www.lockon.co.jp/ 
    7  *  
     7 * 
    88 * 
    99 * 
     
    1313//-------------------------------------------------------------------------------------------------------- 
    1414 
    15 define('MOBILE_TEMPLATE_DIR', DATA_PATH . 'Smarty/templates/mobile');   // SMARTYテンプレート 
    16 define('MOBILE_COMPILE_DIR', DATA_PATH . 'Smarty/templates_c/mobile');  // SMARTYコンパイル 
     15define('MOBILE_TEMPLATE_DIR', TEMPLATE_DIR . 'mobile'); // SMARTYテンプレート 
     16define('MOBILE_COMPILE_DIR', COMPILE_DIR . 'mobile');   // SMARTYコンパイル 
    1717 
     18// MOBILE_COMPILE_DIR が無ければ作る 
     19if (!file_exists(MOBILE_COMPILE_DIR)) { 
     20        mkdir(MOBILE_COMPILE_DIR); 
     21} 
    1822/** 
    1923 * モバイルサイトであることを表す定数 
Note: See TracChangeset for help on using the changeset viewer.