source: temp/trunk/html/admin/system/load_module.php @ 6619

Revision 6619, 532 bytes checked in by naka, 20 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2/*
3 * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7require_once("../require.php");
8
9// ǧ¾Ú³Îǧ
10$objSess = new SC_Session();
11sfIsSuccess($objSess);
12
13if(is_numeric($_GET['module_id'])) {
14    $objQuery = new SC_Query();
15    $arrRet = $objQuery->select("*", "dtb_module", "module_id = ?", array($_GET['module_id']));
16    $path = MODULE_PATH . $arrRet[0]['main_php'];
17    if(file_exists($path)) {
18        require_once($path);
19        exit;
20    } else {
21        print("¥â¥¸¥å¡¼¥ë¤Î¼èÆÀ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£");
22    }   
23}
24
25?>
Note: See TracBrowser for help on using the repository browser.