Skip to content

Commit

Permalink
Adding absolute path handling:
Browse files Browse the repository at this point in the history
  • Loading branch information
atwellpub committed Aug 5, 2015
1 parent e062ddc commit 65d5593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/shortcodes/inbound-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static function init() {
}

public static function shortcodes_include() {
require_once( 'shortcodes-includes.php' );
require_once( INBOUNDNOW_SHARED_PATH . 'shortcodes/shortcodes-includes.php' );
}

/* Loads
Expand Down Expand Up @@ -108,7 +108,7 @@ static function loads($hook) {
wp_localize_script( 'inbound-shortcodes-plugins', 'inbound_load', array( 'image_dir' => INBOUNDNOW_SHARED_URLPATH . 'shortcodes/', 'inbound_plugins' => $plugins_loaded, 'pop_title' => 'Insert Shortcode' ));

if (isset($post)&&$post->post_type=='inbound-forms') {
require_once( 'shortcodes-fields.php' );
require_once( INBOUNDNOW_SHARED_PATH . 'shortcodes/shortcodes-fields.php' );
add_action( 'admin_footer', array(__CLASS__, 'inbound_forms_header_area'));
}

Expand Down

0 comments on commit 65d5593

Please sign in to comment.