mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Optimization
This commit is contained in:
@@ -277,11 +277,11 @@ class e107plugin
|
|||||||
foreach($plugVersions as $path=>$version)
|
foreach($plugVersions as $path=>$version)
|
||||||
{
|
{
|
||||||
$fullPath = e_PLUGIN.$path."/plugin.xml";
|
$fullPath = e_PLUGIN.$path."/plugin.xml";
|
||||||
if(is_file(e_PLUGIN.$path."/plugin.xml"))
|
if(file_exists(e_PLUGIN.$path."/plugin.xml"))
|
||||||
{
|
{
|
||||||
$data = $xml->loadXMLfile($fullPath, true);
|
$data = $xml->loadXMLfile($fullPath, true);
|
||||||
|
|
||||||
if(!in_array($path, $this->core_plugins)) // check non-core plugins for sql file changes.
|
if(!isset($this->core_plugins[$path])) // check non-core plugins for sql file changes.
|
||||||
{
|
{
|
||||||
$dbv->errors = array();
|
$dbv->errors = array();
|
||||||
$dbv->compare($path);
|
$dbv->compare($path);
|
||||||
|
Reference in New Issue
Block a user