X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/1ce9548dd1e9efd2ba7ee71e699839fe724fab11..cd26522ba6ff68c18e1504b022ca92f4d01827be:/Classes/class-plugin-git.php diff --git a/Classes/class-plugin-git.php b/Classes/class-plugin-git.php index 04fa44c..4bf9dab 100644 --- a/Classes/class-plugin-git.php +++ b/Classes/class-plugin-git.php @@ -10,6 +10,10 @@ class PluginRepo { global $config; if (!isset($config['third-party-plugins'])) + { + $config['third-party-plugins'] = []; + } + if (empty($config['third-party-plugins'])) { $config['third-party-plugins']['data'] = NULL; $config['third-party-plugins']['timestamp'] = 0; @@ -81,10 +85,7 @@ class PluginRepo ?>
- data->list as $p) { $tok = split(WEBPANEL_VERSION,"-"); @@ -136,18 +137,6 @@ class PluginRepo
= 3) - { - ?> - -
-