Revision 15078,
792 bytes
checked in by nanasess, 16 years ago
(diff) |
r15064 から svn cp
とりあえず暫定コミット.
- UTF-8 に変更
- slib.php, glib.php のクラス化
- LC_Page の抽象化(一部)
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | require_once("./require.php"); |
---|
8 | require_once(DATA_PATH . "module/Request.php"); |
---|
9 | |
---|
10 | // 認証可否の判定 |
---|
11 | sfIsSuccess(new SC_Session()); |
---|
12 | |
---|
13 | if($_GET['module_id'] != ""){ |
---|
14 | $module_id = $_GET['module_id']; |
---|
15 | }elseif($_POST['module_id'] != ""){ |
---|
16 | $module_id = $_POST['module_id']; |
---|
17 | } |
---|
18 | |
---|
19 | gfprintlog("mode -------------------------------> ".$_POST["mode"]); |
---|
20 | |
---|
21 | if(is_numeric($module_id)) { |
---|
22 | $objQuery = new SC_Query(); |
---|
23 | $arrRet = $objQuery->select("main_php", "dtb_module", "module_id = ?", array($module_id)); |
---|
24 | $path = MODULE_PATH . $arrRet[0]['main_php']; |
---|
25 | if(file_exists($path)) { |
---|
26 | require_once($path); |
---|
27 | exit; |
---|
28 | } else { |
---|
29 | print("モジュールの取得に失敗しました。:".$path); |
---|
30 | } |
---|
31 | } |
---|
32 | |
---|
33 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.