Changeset 17477 for branches/comu-ver2/html/mobile/require.php
- Timestamp:
- 2008/07/29 20:55:08 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/mobile/require.php
r17137 r17477 21 21 * along with this program; if not, write to the Free Software 22 22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 23 */ 23 24 24 */ 25 $include_dir = realpath(dirname( __FILE__)); 26 require_once($include_dir . "/../define.php"); 25 $include_dir = realpath(dirname( __FILE__)) . '/'; 26 27 if (!defined("HTML_PATH")) { 28 define("HTML_PATH", realpath($include_dir . '../') . '/'); 29 } 30 31 require_once(HTML_PATH . "define.php"); 32 33 if (!defined("DATA_PATH")) { 34 define("DATA_PATH", HTML_PATH . HTML2DATA_DIR); 35 } 36 27 37 if (!defined("CLASS_PATH")) { 28 38 /** クラスパス */ 29 define("CLASS_PATH", $include_dir . "/.." . HTML2DATA_DIR. "class/");39 define("CLASS_PATH", DATA_PATH . "class/"); 30 40 } 31 41 32 42 if (!defined("CLASS_EX_PATH")) { 33 43 /** クラスパス */ 34 define("CLASS_EX_PATH", $include_dir . "/.." . HTML2DATA_DIR. "class_extends/");44 define("CLASS_EX_PATH", DATA_PATH . "class_extends/"); 35 45 } 36 46 37 47 if (!defined("CACHE_PATH")) { 38 48 /** キャッシュ生成ディレクトリ */ 39 define("CACHE_PATH", $include_dir . "/.." . HTML2DATA_DIR. "cache/");49 define("CACHE_PATH", DATA_PATH . "cache/"); 40 50 } 41 51 require_once(CLASS_EX_PATH . "SC_Initial_Mobile_Ex.php"); … … 44 54 $objInit->init(); 45 55 46 require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc"); 56 57 require_once(DATA_PATH . "include/module.inc"); 47 58 require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php"); 48 59 require_once(CLASS_EX_PATH . "util_extends/SC_Utils_Ex.php"); … … 75 86 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Session_Ex.php"); 76 87 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Mail_Ex.php"); 77 include_once($include_dir . " /require_plugin.php");88 include_once($include_dir . "require_plugin.php"); 78 89 79 90 // セッションハンドラ開始
Note: See TracChangeset
for help on using the changeset viewer.