mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Debug info added.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user