mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Comment for static variable.
This commit is contained in:
@@ -292,8 +292,8 @@ class e_library_manager
|
|||||||
*/
|
*/
|
||||||
public function load($name, $variant = null)
|
public function load($name, $variant = null)
|
||||||
{
|
{
|
||||||
|
// Re-use the statically cached value to save memory.
|
||||||
static $loaded;
|
static $loaded;
|
||||||
/* @FIXME Still needed? */
|
|
||||||
|
|
||||||
if(!isset($loaded[$name]))
|
if(!isset($loaded[$name]))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user