mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Issue #6, Fix for duplicate LAN_IP, PHP 7.1 fixes. Fix for CLI failing when SSL is enabled, but command is using 'http'. Allow cURL to follow redirects, preventing broken feeds under certain circumstances.
This commit is contained in:
@@ -3311,6 +3311,7 @@ class e107plugin
|
||||
function parse_plugin_php($plugName)
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$sql = e107::getDb(); // in case it is used inside plugin.php
|
||||
|
||||
$PLUGINS_FOLDER = '{e_PLUGIN}'; // Could be used in plugin.php file.
|
||||
|
||||
@@ -3325,11 +3326,12 @@ class e107plugin
|
||||
$eplug_icon_small = null;
|
||||
|
||||
|
||||
ob_start();
|
||||
if (include(e_PLUGIN.$plugName.'/plugin.php'))
|
||||
{
|
||||
//$mes->add("Loading ".e_PLUGIN.$plugName.'/plugin.php', E_MESSAGE_DEBUG);
|
||||
}
|
||||
|
||||
}
|
||||
ob_clean();
|
||||
$ret = array();
|
||||
|
||||
// $ret['installRequired'] = ($eplug_conffile || is_array($eplug_table_names) || is_array($eplug_prefs) || is_array($eplug_sc) || is_array($eplug_bb) || $eplug_module || $eplug_userclass || $eplug_status || $eplug_latest);
|
||||
|
Reference in New Issue
Block a user