mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Debug info added.
This commit is contained in:
@@ -336,9 +336,12 @@ class e_plugin
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$detected = $this->getDetected();
|
$detected = $this->getDetected();
|
||||||
$runUpdate = false;
|
$runUpdate = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foreach($detected as $path) // add a missing plugin to the database table.
|
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;
|
$this->_addons[$path] = !empty($row['plugin_addons']) ? explode(',',$row['plugin_addons']) : null;
|
||||||
$runUpdate = true;
|
$runUpdate = true;
|
||||||
|
|
||||||
|
e107::getDebug()->log("Inserting plugin data into table".print_a($row,true));
|
||||||
|
|
||||||
if($row['plugin_installflag'] == 1)
|
if($row['plugin_installflag'] == 1)
|
||||||
{
|
{
|
||||||
e107::getConfig()->setPref('plug_installed/'.$path, $row['plugin_version'])->save(false,true,false);
|
e107::getConfig()->setPref('plug_installed/'.$path, $row['plugin_version'])->save(false,true,false);
|
||||||
|
Reference in New Issue
Block a user