| @@ -79,9 +79,9 @@ | ||
| 79 | 79 | function intro_tour() { |
| 80 | 80 | |
| 81 | 81 | global $pagenow; |
| 82 | 82 | |
| 83 | - $this->plugin_data = get_plugin_data( $this->settings[ 'plugin_dir' ] . 'easy-opt-ins.php' ); | |
| 83 | + $this->plugin_data = get_plugin_data( FCA_EOI_PLUGIN_DIR . 'easy-opt-ins.php' ); | |
| 84 | 84 | |
| 85 | 85 | // Ajax request template |
| 86 | 86 | |
| 87 | 87 | $ajax = ' |
| @@ -96,9 +96,9 @@ | ||
| 96 | 96 | '; |
| 97 | 97 | |
| 98 | 98 | // if there is more than 1 layout the number will be 6 , otherwise 5 |
| 99 | 99 | $init_pointer_number = 5; |
| 100 | - if ( count( glob( $this->settings[ 'plugin_dir' ] . 'layouts/*', GLOB_ONLYDIR ) ) > 1 ) { | |
| 100 | + if ( count( glob( FCA_EOI_PLUGIN_DIR . 'layouts/*', GLOB_ONLYDIR ) ) > 1 ) { | |
| 101 | 101 | $init_pointer_number += 1; |
| 102 | 102 | }; |
| 103 | 103 | |
| 104 | 104 | $page_items = array( |