| Revision 6,
715 bytes
checked in by root, 19 years ago
(diff) |
|
new import
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | * Copyright(c) 2000-2006 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 | $objSess = new SC_Session(); |
|---|
| 12 | sfIsSuccess($objSess); |
|---|
| 13 | |
|---|
| 14 | if($_GET['module_id'] != ""){ |
|---|
| 15 | $module_id = $_GET['module_id']; |
|---|
| 16 | }elseif($_POST['module_id'] != ""){ |
|---|
| 17 | $module_id = $_POST['module_id']; |
|---|
| 18 | } |
|---|
| 19 | |
|---|
| 20 | if(is_numeric($module_id)) { |
|---|
| 21 | $objQuery = new SC_Query(); |
|---|
| 22 | $arrRet = $objQuery->select("main_php", "dtb_module", "module_id = ?", array($module_id)); |
|---|
| 23 | $path = MODULE_PATH . $arrRet[0]['main_php']; |
|---|
| 24 | if(file_exists($path)) { |
|---|
| 25 | require_once($path); |
|---|
| 26 | exit; |
|---|
| 27 | } else { |
|---|
| 28 | print("¥â¥¸¥å¡¼¥ë¤Î¼èÆÀ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£:".$path); |
|---|
| 29 | } |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.