This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaxis-defines.php
42 lines (33 loc) · 1.86 KB
/
axis-defines.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
namespace axis_framework;
if ( ! defined( 'AXIS_FRAMEWORK_PATH' ) ) {
/** Axis Framework's current path */
define( 'AXIS_FRAMEWORK_PATH', dirname( __FILE__ ) );
}
if ( ! defined( 'AXIS_FRAMEWORK_MAIN_FILE' ) ) {
/** Axis Framework's main file */
define( 'AXIS_FRAMEWORK_MAIN_FILE', AXIS_FRAMEWORK_PATH . '/axis-framework.php' );
}
// all fundamental files are required.
require_once( AXIS_FRAMEWORK_PATH . '/core/utils.php' );
require_once( AXIS_FRAMEWORK_PATH . '/core/class-query.php' );
require_once( AXIS_FRAMEWORK_PATH . '/core/class-singleton.php' );
require_once( AXIS_FRAMEWORK_PATH . '/core/class-loader.php' );
require_once( AXIS_FRAMEWORK_PATH . '/controls/class-base-control.php' );
require_once( AXIS_FRAMEWORK_PATH . '/models/class-base-model.php' );
require_once( AXIS_FRAMEWORK_PATH . '/models/interface-entity.php' ); // entity interface must be earlier than entity model
require_once( AXIS_FRAMEWORK_PATH . '/models/class-base-entity-model.php' );
require_once( AXIS_FRAMEWORK_PATH . '/views/class-base-view.php' );
require_once( AXIS_FRAMEWORK_PATH . '/bootstraps/class-base-callback.php' );
require_once( AXIS_FRAMEWORK_PATH . '/bootstraps/class-base-admin-post-callback.php' );
require_once( AXIS_FRAMEWORK_PATH . '/bootstraps/class-base-ajax-callback.php' );
require_once( AXIS_FRAMEWORK_PATH . '/bootstraps/class-base-menu-callback.php' );
require_once( AXIS_FRAMEWORK_PATH . '/bootstraps/class-base-plugin-callback.php' );
require_once( AXIS_FRAMEWORK_PATH . '/bootstraps/class-base-settings-callback.php' );
require_once( AXIS_FRAMEWORK_PATH . '/bootstraps/class-bootstrap.php' );
require_once( AXIS_FRAMEWORK_PATH . '/contexts/class-base-context.php' );
require_once( AXIS_FRAMEWORK_PATH . '/contexts/class-dispatch.php' );
/**
* Version of Axis Framework.
*/
define( 'AXIS_FRAMEWORK_VERSION', \axis_framework\core\utils\axis_version() ); // after utils.php