Skip to content

Commit

Permalink
Update contact-form-7-api.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny Meyer authored Feb 4, 2020
1 parent 50c054d commit 7ef8dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contact-form-7-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@


define( 'QS_CF7_API_PLUGIN_PATH' , plugin_dir_path( __FILE__ ) );
define( 'QS_CF7_API_INCLUDES_PATH' , plugin_dir_path( __FILE__ ). 'includes/' );
define( 'QS_CF7_API_INCLUDES_PATH' , plugin_dir_path( __FILE__ ));
define( 'QS_CF7_API_TEMPLATE_PATH' , get_template_directory() );
define( 'QS_CF7_API_ADMIN_JS_URL' , plugin_dir_url( __FILE__ ). 'assets/js/' );
define( 'QS_CF7_API_ADMIN_CSS_URL' , plugin_dir_url( __FILE__ ). 'assets/css/' );
Expand Down

1 comment on commit 7ef8dcd

@ttjordan81
Copy link

@ttjordan81 ttjordan81 commented on 7ef8dcd Feb 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change might have broken the path to the class.cf7-api.php file, which IS inside the include directory. (includes/class.cf7-api.php)

Line: 49 require_once QS_CF7_API_INCLUDES_PATH . 'includes/class.cf7-api.php';

I added 'includes/' back and everything sees to work again...

By the way, it appears the QS_CF7_API_INCLUDES_PATH variable is used in other places, so if you fix like 49, and then a new error will appear...

Have a good day!

Please sign in to comment.