1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Debug info added.

This commit is contained in:
Cameron 2017-10-31 14:53:09 -07:00
parent f461f35843
commit f63d503c64

View File

@ -336,9 +336,12 @@ class e_plugin
}
$detected = $this->getDetected();
$runUpdate = false;
foreach($detected as $path) // add a missing plugin to the database table.
{
@ -357,6 +360,8 @@ class e_plugin
$this->_addons[$path] = !empty($row['plugin_addons']) ? explode(',',$row['plugin_addons']) : null;
$runUpdate = true;
e107::getDebug()->log("Inserting plugin data into table".print_a($row,true));
if($row['plugin_installflag'] == 1)
{
e107::getConfig()->setPref('plug_installed/'.$path, $row['plugin_version'])->save(false,true,false);