Skip to content

Commit

Permalink
fix: include required files while activating the plugin (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Oct 11, 2018
1 parent f6f0bf0 commit fcc0b8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dokan.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ public function activate() {
require_once dirname( __FILE__ ) . '/includes/functions.php';
require_once dirname( __FILE__ ) . '/includes/functions-compatibility.php';

// Background Processes
require_once dirname( __FILE__ ) . '/includes/background-processes/class-dokan-background-processes.php';
require_once dirname( __FILE__ ) . '/includes/background-processes/abstract-class-dokan-background-processes.php';

$installer = new Dokan_Installer();
$installer->do_install();
}
Expand Down

0 comments on commit fcc0b8b

Please sign in to comment.