Skip to content

Commit ef5d758

Browse files
Add SO Installer
1 parent 199d1f2 commit ef5d758

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[submodule "build"]
22
path = build
33
url = [email protected]:siteorigin/plugin-build.git
4+
5+
[submodule "inc/installer"]
6+
path = inc/installer
7+
url = [email protected]:siteorigin/siteorigin-installer.git

inc/admin.php

+5
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ public function __construct() {
6464
// Check to make sure we have all the correct markup.
6565
SiteOrigin_Panels_Admin_Dashboard::single();
6666

67+
// Load the Installer If it's not already active.
68+
if ( ! class_exists( 'SiteOrigin_Installer' ) ) {
69+
include plugin_dir_path( __FILE__ ) . 'installer/siteorigin-installer.php';
70+
}
71+
6772
$this->in_save_post = false;
6873

6974
// Enqueue Yoast compatibility

inc/installer

Submodule installer added at fdbd9f6

0 commit comments

Comments
 (0)