Commit a60290db authored by Dave Lane's avatar Dave Lane
Browse files

shifted bff-app.php into includes to make file structure consistent

parent 09a5e841
...@@ -62,7 +62,7 @@ define('BFF_DEBUG', true); ...@@ -62,7 +62,7 @@ define('BFF_DEBUG', true);
define('LOG_STREAM', getenv('LOG_STREAM')); define('LOG_STREAM', getenv('LOG_STREAM'));
// include the dependencies // include the dependencies
require BFF_PATH . '/bff-app.php'; require BFF_PATH . '/includes/bff-app.php';
if ( function_exists( 'add_action' ) ) { if ( function_exists( 'add_action' ) ) {
// this starts everything up! // this starts everything up!
......
...@@ -32,7 +32,7 @@ class BFFForm extends BFFCourse { ...@@ -32,7 +32,7 @@ class BFFForm extends BFFCourse {
'nonce_set' => wp_create_nonce('bff-set-nonce'), 'nonce_set' => wp_create_nonce('bff-set-nonce'),
)); ));
// our css // our css
wp_register_style('bff-style', plugins_url('css/style.css', __FILE__)); wp_register_style('bff-style', BFF_URL.'css/style.css');
wp_enqueue_style('bff-style'); wp_enqueue_style('bff-style');
// this enables the feedfinder service for authenticated users... // this enables the feedfinder service for authenticated users...
add_action('wp_ajax_bff_submit', array($this, 'ajax_submit')); add_action('wp_ajax_bff_submit', array($this, 'ajax_submit'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment