Exemple #1
0
* @author Puguh Wijayanto (www.metalgenix.com)
* @since 0.0.1
*/
define('GX_PATH', realpath(__DIR__ . '/../'));
define('GX_LIB', GX_PATH . '/inc/lib/');
define('GX_MOD', GX_PATH . '/inc/mod/');
define('GX_THEME', GX_PATH . '/inc/themes/');
define('GX_ASSET', GX_PATH . '/assets/');
/**
* Libraries Loader Function.
* This will load all libraries inside the inc/lib directory.
*
* @author Puguh Wijayanto (www.metalgenix.com)
* @since 0.0.1
*/
require "../autoload.php";
/**
* Run the Main caller at GxMain Class.
* This will call the Backend Controller.
*
* @author Puguh Wijayanto (www.metalgenix.com)
* @since 0.0.1
*/
try {
    $gx = new GxMain();
    $gx->admin();
} catch (Exception $e) {
    echo $e->getMessage();
}
/* End of file index.php */
/* Location: ./gxadmin/index.php */