I receive the error below when I got to the xerte page, if access is set to guest the warning is hidden behind the GUI, any ideas?
[]Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /webusers/myusername/public_html/Mysite/plugins.php on line 46[/]
[]Warning: Invalid argument supplied for foreach() in /webusers/myusername/public_html/Mysite/plugins.php on line 48[/]
answered my own question, for anyone else here is the solution, please not the '+' and '-', these need removing so the code you need to overlay the previous is
* Only looks in PLUGINS_PATH and one dir underneath.
* Only loads files ending in .php
*/
$files1 = glob(PLUGINS_PATH . D_S . '*' . D_S . '*.php');
if ($files1 === false) $files1 = array();
$files2 = glob(PLUGINS_PATH . D_S . '*.php');
if ($files2 === false) $files2 = array();
$files = array_merge($files1, $files2);