mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 04:02:28 +02:00
Don't check formatting of e_***_sql.php addon files
This commit is contained in:
parent
8863356347
commit
6f83d506f9
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2007-03-15 15:55:08 $
|
||||
| $Author: lisa_ $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2008-08-09 17:23:26 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@ -197,7 +197,7 @@ function plugin_viewscan()
|
||||
foreach(explode(',',$row['plugin_addons']) as $this_addon)
|
||||
{
|
||||
$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 />";
|
||||
$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).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/plugin_class.php,v $
|
||||
| $Revision: 1.37 $
|
||||
| $Date: 2008-08-09 16:49:50 $
|
||||
| $Revision: 1.38 $
|
||||
| $Date: 2008-08-09 17:23:26 $
|
||||
| $Author: e107steved $
|
||||
|
||||
Mods for extra plugin.xml variables
|
||||
@ -1342,7 +1342,8 @@ class e107plugin
|
||||
{
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user