2 require (LIB_PATH
.'functions.inc.php');
4 * Some general code manipulation
7 $to = tsPage
::getRequest(NAV_VAR
);
8 if (!empty($to) && is_dir(PAGE_PATH
. $to) && is_file(PAGE_PATH
. $to . DIRECTORY_SEPARATOR
. 'code.php')) {
9 include (PAGE_PATH
. $to . DIRECTORY_SEPARATOR
. 'code.php');
10 }elseif (empty($to)) {
12 include (PAGE_PATH
. $to . DIRECTORY_SEPARATOR
. 'code.php');
15 $to = tsAdminPage
::getInstance($to);