| @@ -80,9 +80,9 @@ | ||
| 80 | 80 | if ( preg_match( '~^lp_abstract_shortcode(.*)$~', $class, $m ) ) { |
| 81 | 81 | $file = 'abstract-shortcode' . str_replace( '_', '-', $m[1] ) . '.php'; |
| 82 | 82 | $path = $this->include_path . 'abstracts/'; |
| 83 | 83 | } elseif ( preg_match( '~^lp_shortcode_(.*)$~', $class, $m ) ) { |
| 84 | - $path = $this->include_path . 'shortcodes/'; | |
| 84 | + $path = $this->include_path . 'Shortcodes/'; | |
| 85 | 85 | } else { |
| 86 | 86 | |
| 87 | 87 | // payment gateways |
| 88 | 88 | if ( strpos( $class, 'lp_gateway_' ) === 0 ) { |
| @@ -91,10 +91,8 @@ | ||
| 91 | 91 | |
| 92 | 92 | $file = 'class-' . substr( str_replace( '_', '-', $class ), 5 ) . '.php'; |
| 93 | 93 | $path = $this->include_path . 'admin/meta-boxes/'; |
| 94 | 94 | |
| 95 | - } elseif ( strpos( $class, 'lp_statistic_' ) === 0 ) { | |
| 96 | - $path = $this->include_path . 'admin/dashboard-statistics/'; | |
| 97 | 95 | } else { |
| 98 | 96 | $file = 'class-' . str_replace( '_', '-', $class ) . '.php'; |
| 99 | 97 | $path = dirname( __FILE__ ) . '/'; |
| 100 | 98 | if ( strpos( $class, 'lp_user' ) !== false || $class == 'lp_abstract_user' ) { |