Skip to content

Commit

Permalink
Merge pull request #49 from nsquared-team/includes-fix
Browse files Browse the repository at this point in the history
Fix include_once paths
  • Loading branch information
tylerdigital committed Jan 17, 2024
2 parents 37b42f1 + 2919752 commit 2460db7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions public/class-drawattention.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,19 @@ private function __construct() {
*
* Various functionality is separated into external files
*/
include_once( 'includes/cpt.php' );
include_once( dirname ( __FILE__ ) . '/includes/cpt.php' );
$this->cpt = new DrawAttention_CPT( $this );

include_once( 'includes/custom_fields.php' );
include_once( dirname ( __FILE__ ) . '/includes/custom_fields.php' );
$this->custom_fields = new DrawAttention_CustomFields( $this );

include_once( 'includes/themes.php' );
include_once(dirname ( __FILE__ ) . '/includes/themes.php' );
$this->themes = new DrawAttention_Themes( $this );

include_once( 'includes/class-block-image.php' );
include_once( dirname ( __FILE__ ) . '/includes/class-block-image.php' );
$this->block_image = new DrawAttention_Block_Image( $this );

include_once( 'includes/import-export.php' );
include_once( dirname ( __FILE__ ) . '/includes/import-export.php' );
$this->import_export = new DrawAttention_ImportExport( $this );
}

Expand Down

0 comments on commit 2460db7

Please sign in to comment.