mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
Optimization
This commit is contained in:
parent
d37fe781ac
commit
a29cd6db65
@ -277,11 +277,11 @@ class e107plugin
|
||||
foreach($plugVersions as $path=>$version)
|
||||
{
|
||||
$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);
|
||||
|
||||
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->compare($path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user