google-code-export / zfdebug

Automatically exported from code.google.com/p/zfdebug
Other
1 stars 1 forks source link

Why is Auth NOT a standard plugin? #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In '/ZFDebug/Controller/Plugin/Debug.php' v1.5 on line #62 it reads:

public static $standardPlugins = array('Cache', 'Html', 'Database',
'Exception', 'File', 'Memory', 'Registry', 'Time', 'Variables');

Why is 'Auth' not included in this list?

When I set up my options array like this:

$options = array(
    'plugins' => array(
                'Variables',
                'File',
                'Memory',
                'Time',
                'Registry',
                'Database' => array('adapter' => $dbAdapter),
                'Auth',
                'Html',
                'Exception',
            )
);

It gives me a PHP error 'failed to open stream' because Auth is not
included in the standard plugins list. If I take Auth out, it works, if I
edit Debug.php to include Auth in the standard plugins it works. Is there a
reason why Auth is left out of the standard plugins list?

Original issue reported on code.google.com by bob.nel...@gmail.com on 24 Mar 2010 at 5:01