Ignore:
Timestamp:
2009/09/17 19:45:44 (17 years ago)
Author:
Seasoft
Message:
  • 機能とサイトの判定ロジックを実装
  • 携帯端末の場合、モバイルサイトへリダイレクトする処理をメソッドに移動
  • /data/include/module.inc の読み込みタイミングを移動(ロジックの直接実行を含むため。エラー処理を行ないやすいように他の共通ファイルの読み込みの後とした。)
  • インストール中は一部の共通ロジックを
  • インストール初期処理の誤りを修正。処理をスマートに。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/html/install/index.php

    r18235 r18293  
    2121 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2222 */ 
    23 require_once("../require.php"); 
     23// ▼require.php 相当 
     24// rtrim は PHP バージョン依存対策 
     25define('HTML_PATH', rtrim(realpath(rtrim(realpath(dirname(__FILE__)), '/\\') . '/../'), '/\\') . '/'); 
     26 
     27require_once HTML_PATH . 'define.php'; 
     28define('INSTALL_FUNCTION', true); 
     29require_once HTML_PATH . HTML2DATA_DIR . 'require_base.php'; 
     30// ▲require.php 相当 
     31 
    2432$INSTALL_DIR = realpath(dirname( __FILE__)); 
    2533require_once(DATA_PATH . "module/Request.php"); 
Note: See TracChangeset for help on using the changeset viewer.