mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Start of front-end navigation template. Shortcode handler fix to prevent reloading of existing classes. Bootstrap front-end theme updated.
This commit is contained in:
@@ -299,6 +299,13 @@ class e_parse_shortcode
|
||||
$path = $pathBC;
|
||||
}
|
||||
|
||||
// If it already exists - don't include it again.
|
||||
if (class_exists($className, false)) // don't allow __autoload()
|
||||
{
|
||||
$this->registerClassMethods($className, $path);
|
||||
return $this->scClasses[$className];
|
||||
}
|
||||
|
||||
if (is_readable($path))
|
||||
{
|
||||
require_once($path);
|
||||
|
Reference in New Issue
Block a user