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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user