mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Don't check formatting of e_***_sql.php addon files
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2007-03-15 15:55:08 $
|
| $Date: 2008-08-09 17:23:26 $
|
||||||
| $Author: lisa_ $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ function plugin_viewscan()
|
|||||||
foreach(explode(',',$row['plugin_addons']) as $this_addon)
|
foreach(explode(',',$row['plugin_addons']) as $this_addon)
|
||||||
{
|
{
|
||||||
$ret_code = 3; // Default to 'not checked
|
$ret_code = 3; // Default to 'not checked
|
||||||
if (strpos($this_addon,'e_') === 0)
|
if ((strpos($this_addon,'e_') === 0) && (substr($this_addon,-4,4) != '_sql'))
|
||||||
{
|
{
|
||||||
// echo "Checking: ".$row['plugin_path'].":".$this_addon."<br />";
|
// echo "Checking: ".$row['plugin_path'].":".$this_addon."<br />";
|
||||||
$ret_code = $ep->checkAddon($row['plugin_path'],$this_addon); // See whether spaces before opening tag or after closing tag
|
$ret_code = $ep->checkAddon($row['plugin_path'],$this_addon); // See whether spaces before opening tag or after closing tag
|
||||||
|
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/plugin_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/plugin_class.php,v $
|
||||||
| $Revision: 1.37 $
|
| $Revision: 1.38 $
|
||||||
| $Date: 2008-08-09 16:49:50 $
|
| $Date: 2008-08-09 17:23:26 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
|
|
||||||
Mods for extra plugin.xml variables
|
Mods for extra plugin.xml variables
|
||||||
@@ -1342,7 +1342,8 @@ class e107plugin
|
|||||||
{
|
{
|
||||||
if(is_readable(e_PLUGIN.$plugin_path."/".$esql['fname']))
|
if(is_readable(e_PLUGIN.$plugin_path."/".$esql['fname']))
|
||||||
{
|
{
|
||||||
$p_addons[] = str_replace(".php","",$esql['fname']);
|
$fname = str_replace(".php","",$esql['fname']);
|
||||||
|
if (!in_array($fname, $p_addons)) $p_addons[] = $fname; // Probably already found - avoid duplication
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user