| 1 |
<?php defined( 'ABSPATH' ) or die; |
| 2 |
|
| 3 |
// ensure EXT is defined |
| 4 |
if ( ! defined( 'EXT' ) ) { |
| 5 |
define( 'EXT', '.php' ); |
| 6 |
} |
| 7 |
|
| 8 |
$basepath = dirname( __FILE__ ) . DIRECTORY_SEPARATOR; |
| 9 |
require $basepath . 'core' . EXT; |
| 10 |
|
| 11 |
// load classes |
| 12 |
|
| 13 |
$interfacepath = $basepath . 'interfaces' . DIRECTORY_SEPARATOR; |
| 14 |
pixcustomify::require_all( $interfacepath ); |
| 15 |
|
| 16 |
$classpath = $basepath . 'classes' . DIRECTORY_SEPARATOR; |
| 17 |
pixcustomify::require_all( $classpath ); |
| 18 |
|
| 19 |
// load callbacks |
| 20 |
|
| 21 |
$callbackpath = $basepath . 'callbacks' . DIRECTORY_SEPARATOR; |
| 22 |
pixcustomify::require_all( $callbackpath ); |
| 23 |
|