1
0
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:
Cameron
2012-12-11 15:08:29 -08:00
parent 5aad9b6553
commit fb1a4e2b03
6 changed files with 252 additions and 27 deletions

View File

@@ -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);