1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 02:57:15 +02:00

Latest batch of global bashing and notice removal, remove unneeded files

This commit is contained in:
e107steved
2009-12-18 20:49:56 +00:00
parent 17b98ac017
commit 716ddc3c58
14 changed files with 106 additions and 228 deletions

View File

@@ -9,9 +9,9 @@
* General purpose file
*
* $Source: /cvs_backup/e107_0.8/class2.php,v $
* $Revision: 1.169 $
* $Date: 2009-12-15 11:05:16 $
* $Author: e107coders $
* $Revision: 1.170 $
* $Date: 2009-12-18 20:49:54 $
* $Author: e107steved $
*
*/
//
@@ -2126,7 +2126,7 @@ function __autoload($className)
case 'plugin':
array_shift($tmp);
// folder 'includes' is not part of the class name
if (!$tmp[0]) return; // In case we get an empty class part
if (!isset($tmp[0]) || !$tmp[0]) return; // In case we get an empty class part
$tmp[0] = $tmp[0].'/includes';
$filename = e_PLUGIN.implode('/', $tmp).'.php';
//TODO add debug screen Auto-loaded classes - ['plugin: '.$filename.' - '.$className];