diff --git a/qa-plugin/Donut-admin/qa-plugin.php b/qa-plugin/Donut-admin/qa-plugin.php index 43a774f..588eaf5 100644 --- a/qa-plugin/Donut-admin/qa-plugin.php +++ b/qa-plugin/Donut-admin/qa-plugin.php @@ -17,8 +17,8 @@ } //Define global constants - @define( 'DONUT_ADMIN_PLUGIN_DIR', dirname( __FILE__ ) ); @define( 'DONUT_ADMIN_PLUGIN_FOLDER', basename( dirname( __FILE__ ) ) ); + @define( 'DONUT_ADMIN_PLUGIN_DIR', QA_BASE_DIR . 'qa-plugin/' . DONUT_ADMIN_PLUGIN_FOLDER); @define( 'DONUT_CURR_DB_VERSION', 1 ); //Helps in updating new mandatory options diff --git a/qa-theme/Donut-theme/qa-theme.php b/qa-theme/Donut-theme/qa-theme.php index a19771c..f069ee0 100644 --- a/qa-theme/Donut-theme/qa-theme.php +++ b/qa-theme/Donut-theme/qa-theme.php @@ -7,7 +7,7 @@ /** * Defines the base directory of the theme */ - @define( 'DONUT_THEME_BASE_DIR', dirname( __FILE__ ) ); + @define( 'DONUT_THEME_BASE_DIR', QA_BASE_DIR . 'qa-theme/Donut-theme'); /** * define the directory name of the theme directory