Skip to content

Commit

Permalink
Include absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
anhskohbo authored Jul 17, 2017
1 parent 247951e commit 95312df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ public function include_cmb() {
$this->l10ni18n();

// Include helper functions.
require_once 'includes/CMB2_Base.php';
require_once 'includes/CMB2.php';
require_once 'includes/helper-functions.php';
require_once CMB2_DIR . 'includes/CMB2_Base.php';
require_once CMB2_DIR . 'includes/CMB2.php';
require_once CMB2_DIR . 'includes/helper-functions.php';

// Now kick off the class autoloader.
spl_autoload_register( 'cmb2_autoload_classes' );
Expand Down

0 comments on commit 95312df

Please sign in to comment.