Ignore:
Timestamp:
2008/07/18 12:17:05 (14 years ago)
Author:
naka
Message:

require.phpを1ファイルに統合

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/html/admin/require.php

    r17118 r17438  
    2121 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2222 */ 
    23 $include_dir = realpath(dirname( __FILE__)); 
    24 require_once($include_dir . "/../define.php"); 
    25 if (!defined("CLASS_PATH")) { 
    26     /** クラスパス */ 
    27     define("CLASS_PATH", $include_dir . "/.." . HTML2DATA_DIR . "class/"); 
    28 } 
    29  
    30 if (!defined("CLASS_EX_PATH")) { 
    31     /** クラスパス */ 
    32     define("CLASS_EX_PATH", $include_dir . "/.." . HTML2DATA_DIR . "class_extends/"); 
    33 } 
    34  
    35 if (!defined("CACHE_PATH")) { 
    36     /** キャッシュ生成ディレクトリ */ 
    37     define("CACHE_PATH", $include_dir . "/.." . HTML2DATA_DIR . "cache/"); 
    38 } 
    39 require_once(CLASS_EX_PATH . "SC_Initial_Ex.php"); 
    40 // アプリケーション初期化処理 
    41 $objInit = new SC_Initial_Ex(); 
    42 $objInit->init(); 
    43  
    44 require_once($include_dir . "/.." . HTML2DATA_DIR . "include/module.inc"); 
    45 require_once(CLASS_EX_PATH . "util_extends/GC_Utils_Ex.php"); 
    46 require_once(CLASS_EX_PATH . "util_extends/SC_Utils_Ex.php"); 
    47 require_once(CLASS_EX_PATH . "db_extends/SC_DB_MasterData_Ex.php"); 
    48 require_once(CLASS_EX_PATH . "db_extends/SC_DB_DBFactory_Ex.php"); 
    49 require_once(CLASS_PATH . "SC_View.php"); 
    50 require_once(CLASS_PATH . "SC_DbConn.php"); 
    51 require_once(CLASS_PATH . "SC_Session.php"); 
    52 require_once(CLASS_PATH . "SC_Query.php"); 
    53 require_once(CLASS_PATH . "SC_SelectSql.php"); 
    54 require_once(CLASS_PATH . "SC_CheckError.php"); 
    55 require_once(CLASS_PATH . "SC_PageNavi.php"); 
    56 require_once(CLASS_PATH . "SC_Date.php"); 
    57 require_once(CLASS_PATH . "SC_Image.php"); 
    58 require_once(CLASS_PATH . "SC_UploadFile.php"); 
    59 require_once(CLASS_PATH . "SC_SiteInfo.php"); 
    60 require_once(CLASS_PATH . "SC_SendMail.php"); 
    61 require_once(CLASS_PATH . "SC_FormParam.php"); 
    62 require_once(CLASS_PATH . "SC_CustomerList.php"); 
    63 require_once(CLASS_PATH . "SC_Customer.php"); 
    64 require_once(CLASS_PATH . "SC_Pdf.php"); 
    65 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_PageLayout_Ex.php"); 
    66 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_DB_Ex.php"); 
    67 require_once(CLASS_EX_PATH . "helper_extends/SC_Helper_Session_Ex.php"); 
    68  
    69 require_once($include_dir . "/.." . HTML2DATA_DIR . "module/Mail.php"); 
    70 require_once($include_dir . "/.." . HTML2DATA_DIR . "module/Mail/mime.php"); 
    71  
    72 // インストールチェック 
    73 SC_Utils_Ex::sfInitInstall(); 
    74  
    75 // セッションハンドラ開始 
    76 $objSession = new SC_Helper_Session_Ex(); 
    77 // セッション初期化・開始 
    78 require_once CLASS_PATH . 'session/SC_SessionFactory.php'; 
    79 $sessionFactory = SC_SessionFactory::getInstance(); 
    80 $sessionFactory->initSession(); 
     23require_once(realpath(dirname( __FILE__)) . "/../require.php"); 
    8124?> 
Note: See TracChangeset for help on using the changeset viewer.