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

Revision 6622, 546 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
RevLine 
[6604]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
[6613]9// ǧ¾Ú³Îǧ
10$objSess = new SC_Session();
11sfIsSuccess($objSess);
[6604]12
[6613]13if(is_numeric($_GET['module_id'])) {
14    $objQuery = new SC_Query();
[6622]15    $arrRet = $objQuery->select("main_php", "dtb_module", "module_id = ?", array($_GET['module_id']));
[6619]16    $path = MODULE_PATH . $arrRet[0]['main_php'];
17    if(file_exists($path)) {
18        require_once($path);
19        exit;
20    } else {
[6622]21        print("¥â¥¸¥å¡¼¥ë¤Î¼èÆÀ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£:".$path);
[6619]22    }   
[6613]23}
[6604]24
25?>
Note: See TracBrowser for help on using the repository browser.