wp-content is hardcoded
-
Hi
I had a problem with the pro version which caused a Fatal PHP error as soon as I selected a web service. It was unable to find the relevant class PHP file.
This is because wp-content was hard-coded in the path for this file. My wp-content directory is renamed for security reasons (using iThemes Security)
I recoded line 35 in wp-sms.php as follows and it now works:
//include_once( ABSPATH . 'wp-content/plugins/wp-sms-pro/gateway/gateways/'.$webservice.'.class.php' ); // BUGFIX include_once( WP_CONTENT_DIR . '/plugins/wp-sms-pro/gateway/gateways/'.$webservice.'.class.php' );
Hope this helps others – and suggest a patch for this line of code in the next update.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp-content is hardcoded’ is closed to new replies.