Bläddra i källkod

updated global plugin array by removing extra square bracket on plugins [SpeedTest,PHP Mailer,HealthChecks,Chat,Bookmark]
fix typo on the word hyphen

CauseFX 4 år sedan
förälder
incheckning
056cee23bc

+ 2 - 2
api/plugins/bookmark/plugin.php

@@ -1,13 +1,13 @@
 <?php
 // PLUGIN INFORMATION
-$GLOBALS['plugins'][]['Bookmark'] = array( // Plugin Name
+$GLOBALS['plugins']['Bookmark'] = array( // Plugin Name
 	'name' => 'Bookmark', // Plugin Name
 	'author' => 'leet1994', // Who wrote the plugin
 	'category' => 'Utilities', // One to Two Word Description
 	'link' => '', // Link to plugin info
 	'license' => 'personal,business', // License Type use , for multiple
 	'idPrefix' => 'BOOKMARK', // html element id prefix
-	'configPrefix' => 'BOOKMARK', // config file prefix for array items without the hypen
+	'configPrefix' => 'BOOKMARK', // config file prefix for array items without the hyphen
 	'dbPrefix' => 'BOOKMARK', // db prefix
 	'version' => '0.1.0', // SemVer of plugin
 	'image' => 'api/plugins/bookmark/logo.png', // 1:1 non transparent image for plugin

+ 2 - 2
api/plugins/chat/plugin.php

@@ -2,14 +2,14 @@
 // PLUGIN INFORMATION
 use Pusher\PusherException;
 
-$GLOBALS['plugins'][]['Chat'] = array( // Plugin Name
+$GLOBALS['plugins']['Chat'] = array( // Plugin Name
 	'name' => 'Chat', // Plugin Name
 	'author' => 'CauseFX', // Who wrote the plugin
 	'category' => 'Utilities', // One to Two Word Description
 	'link' => '', // Link to plugin info
 	'license' => 'personal,business', // License Type use , for multiple
 	'idPrefix' => 'CHAT', // html element id prefix
-	'configPrefix' => 'CHAT', // config file prefix for array items without the hypen
+	'configPrefix' => 'CHAT', // config file prefix for array items without the hyphen
 	'version' => '1.0.0', // SemVer of plugin
 	'image' => 'api/plugins/chat/logo.png', // 1:1 non transparent image for plugin
 	'settings' => true, // does plugin need a settings modal?

+ 1 - 1
api/plugins/healthChecks/plugin.php

@@ -1,6 +1,6 @@
 <?php
 // PLUGIN INFORMATION
-$GLOBALS['plugins'][]['HealthChecks'] = array( // Plugin Name
+$GLOBALS['plugins']['HealthChecks'] = array( // Plugin Name
 	'name' => 'HealthChecks', // Plugin Name
 	'author' => 'CauseFX', // Who wrote the plugin
 	'category' => 'Utilities', // One to Two Word Description

+ 1 - 1
api/plugins/php-mailer/plugin.php

@@ -1,6 +1,6 @@
 <?php
 // PLUGIN INFORMATION
-$GLOBALS['plugins'][]['PHP Mailer'] = array( // Plugin Name
+$GLOBALS['plugins']['PHP Mailer'] = array( // Plugin Name
 	'name' => 'PHP Mailer', // Plugin Name
 	'author' => 'PHP Mailer', // Who wrote the plugin
 	'category' => 'Mail', // One to Two Word Description

+ 2 - 2
api/plugins/speedTest/plugin.php

@@ -1,13 +1,13 @@
 <?php
 // PLUGIN INFORMATION
-$GLOBALS['plugins'][]['SpeedTest'] = array( // Plugin Name
+$GLOBALS['plugins']['SpeedTest'] = array( // Plugin Name
 	'name' => 'SpeedTest', // Plugin Name
 	'author' => 'CauseFX', // Who wrote the plugin
 	'category' => 'Utilities', // One to Two Word Description
 	'link' => '', // Link to plugin info
 	'license' => 'personal,business', // License Type use , for multiple
 	'idPrefix' => 'SPEEDTEST', // html element id prefix
-	'configPrefix' => 'SPEEDTEST', // config file prefix for array items without the hypen
+	'configPrefix' => 'SPEEDTEST', // config file prefix for array items without the hyphen
 	'version' => '1.0.0', // SemVer of plugin
 	'image' => 'api/plugins/speedTest/logo.png', // 1:1 non transparent image for plugin
 	'settings' => true, // does plugin need a settings modal?