* @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 */
<?php /** * GeniXCMS - Content Management System * * PHP Based Content Management System and Framework * * @package GeniXCMS * @since 0.0.1 build date 20140925 * @version 0.0.6 * @link https://github.com/semplon/GeniXCMS * @link http://genixcms.org * @author Puguh Wijayanto (www.metalgenix.com) * @copyright 2014-2015 Puguh Wijayanto * @license http://www.opensource.org/licenses/mit-license.php MIT * */ 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/'); require "autoload.php"; try { $gx = new GxMain(); echo $gx->index(); } catch (Exception $e) { echo $e->getMessage(); } /* End of file index.php */ /* Location: ./index.php */