@@ -18,14 +18,14 @@ |
||
18 | 18 | |
19 | 19 | defined( 'WPINC' ) || die; |
20 | 20 | |
21 | -if( !class_exists( 'GL_Plugin_Check_v3' )) { |
|
22 | - require_once __DIR__.'/activate.php'; |
|
21 | +if( !class_exists( 'GL_Plugin_Check_v3' ) ) { |
|
22 | + require_once __DIR__ . '/activate.php'; |
|
23 | 23 | } |
24 | -if( !(new GL_Plugin_Check_v3( __FILE__, array( 'php' => '5.6', 'wordpress' => '4.7.0' )))->canProceed() )return; |
|
25 | -require_once __DIR__.'/autoload.php'; |
|
26 | -require_once __DIR__.'/compatibility.php'; |
|
24 | +if( !( new GL_Plugin_Check_v3( __FILE__, array( 'php' => '5.6', 'wordpress' => '4.7.0' ) ) )->canProceed() )return; |
|
25 | +require_once __DIR__ . '/autoload.php'; |
|
26 | +require_once __DIR__ . '/compatibility.php'; |
|
27 | 27 | |
28 | -if( !defined( 'SAVEQUERIES' )) { |
|
28 | +if( !defined( 'SAVEQUERIES' ) ) { |
|
29 | 29 | define( 'SAVEQUERIES', 1 ); |
30 | 30 | } |
31 | -(new GeminiLabs\BlackBar\Application)->init(); |
|
31 | +( new GeminiLabs\BlackBar\Application )->init(); |
@@ -21,7 +21,9 @@ |
||
21 | 21 | if( !class_exists( 'GL_Plugin_Check_v3' )) { |
22 | 22 | require_once __DIR__.'/activate.php'; |
23 | 23 | } |
24 | -if( !(new GL_Plugin_Check_v3( __FILE__, array( 'php' => '5.6', 'wordpress' => '4.7.0' )))->canProceed() )return; |
|
24 | +if( !(new GL_Plugin_Check_v3( __FILE__, array( 'php' => '5.6', 'wordpress' => '4.7.0' )))->canProceed() ) { |
|
25 | + return; |
|
26 | +} |
|
25 | 27 | require_once __DIR__.'/autoload.php'; |
26 | 28 | require_once __DIR__.'/compatibility.php'; |
27 | 29 |