|
@@ -11,7 +11,7 @@ discard block |
|
|
block discarded – undo |
|
11
|
11
|
License: GPLv3 |
|
12
|
12
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html |
|
13
|
13
|
*/ |
|
14
|
|
-if (!defined('ABSPATH')) exit; |
|
|
14
|
+if ( ! defined('ABSPATH')) exit; |
|
15
|
15
|
|
|
16
|
16
|
|
|
17
|
17
|
//Define basic names |
|
@@ -21,16 +21,16 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
defined('CGSS_PATH') or define('CGSS_PATH', plugin_dir_path(__FILE__)); |
|
22
|
22
|
defined('CGSS_FILE') or define('CGSS_FILE', plugin_basename(__FILE__)); |
|
23
|
23
|
|
|
24
|
|
-defined('CGSS_EXECUTE') or define('CGSS_EXECUTE', plugin_dir_path(__FILE__).'src/'); |
|
25
|
|
-defined('CGSS_HELPER') or define('CGSS_HELPER', plugin_dir_path(__FILE__).'helper/'); |
|
26
|
|
-defined('CGSS_TRANSLATE') or define('CGSS_TRANSLATE', plugin_basename( plugin_dir_path(__FILE__).'asset/ln/')); |
|
|
24
|
+defined('CGSS_EXECUTE') or define('CGSS_EXECUTE', plugin_dir_path(__FILE__) . 'src/'); |
|
|
25
|
+defined('CGSS_HELPER') or define('CGSS_HELPER', plugin_dir_path(__FILE__) . 'helper/'); |
|
|
26
|
+defined('CGSS_TRANSLATE') or define('CGSS_TRANSLATE', plugin_basename(plugin_dir_path(__FILE__) . 'asset/ln/')); |
|
27
|
27
|
|
|
28
|
28
|
//change /wp-plugin-framework/ with your /plugin-name/ |
|
29
|
|
-defined('CGSS_JS') or define('CGSS_JS', plugins_url().'/complete-google-seo-scan/asset/js/'); |
|
30
|
|
-defined('CGSS_CSS') or define('CGSS_CSS', plugins_url().'/complete-google-seo-scan/asset/css/'); |
|
31
|
|
-defined('CGSS_IMAGE') or define('CGSS_IMAGE', plugins_url().'/complete-google-seo-scan/asset/img/'); |
|
|
29
|
+defined('CGSS_JS') or define('CGSS_JS', plugins_url() . '/complete-google-seo-scan/asset/js/'); |
|
|
30
|
+defined('CGSS_CSS') or define('CGSS_CSS', plugins_url() . '/complete-google-seo-scan/asset/css/'); |
|
|
31
|
+defined('CGSS_IMAGE') or define('CGSS_IMAGE', plugins_url() . '/complete-google-seo-scan/asset/img/'); |
|
32
|
32
|
|
|
33
|
33
|
|
|
34
|
34
|
//The Plugin |
|
35
|
35
|
require_once('autoload.php'); |
|
36
|
|
-if ( class_exists( 'CGSS_BUILD' ) ) new CGSS_BUILD(); ?> |
|
|
36
|
+if (class_exists('CGSS_BUILD')) new CGSS_BUILD(); ?> |