mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-05-03 06:10:18 +02:00
parent
7563a7a0ba
commit
b6fdbf055e
@ -128,7 +128,7 @@ class Loader
|
|||||||
{
|
{
|
||||||
// Think about to add class pathes to php include path
|
// Think about to add class pathes to php include path
|
||||||
// this could be faster (tg)
|
// this could be faster (tg)
|
||||||
spl_autoload_register(array(&$this, 'loadClass'));
|
spl_autoload_register(array($this, 'loadClass'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -136,6 +136,6 @@ class Loader
|
|||||||
*/
|
*/
|
||||||
public function unregister()
|
public function unregister()
|
||||||
{
|
{
|
||||||
spl_autoload_unregister(array(&$this, 'loadClass'));
|
spl_autoload_unregister(array($this, 'loadClass'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user