| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | require_once('../lib/config.inc.php'); |
| | | require_once('../lib/app.inc.php'); |
| | | require_once '../lib/config.inc.php'; |
| | | require_once '../lib/app.inc.php'; |
| | | |
| | | /* |
| | | $module = $_REQUEST["s_mod"]; |
| | |
| | | |
| | | if(is_file(ISPC_WEB_PATH."/$module/$page.php")) { |
| | | |
| | | include_once(ISPC_WEB_PATH."/$module/$page.php"); |
| | | include_once ISPC_WEB_PATH."/$module/$page.php"; |
| | | |
| | | $classname = $module.'_'.$page; |
| | | $page = new $classname(); |
| | |
| | | if(!preg_match("/^[a-z]{2,20}$/i", $page)) die('target page name contains unallowed chars.'); |
| | | |
| | | if(is_file(ISPC_WEB_PATH."/$module/$page.php")) { |
| | | include_once(ISPC_WEB_PATH."/$module/$page.php"); |
| | | include_once ISPC_WEB_PATH."/$module/$page.php"; |
| | | |
| | | $classname = $module.'_'.$page; |
| | | $page = new $classname(); |