<?phperror_reporting(E_ALL);require_once("auth.inc");require_once("priv.inc");print_r( getAllowedPages("test") );?>
Array( [0] => * [1] => index.php* [2] => *.widget.php* [3] => graph.php* [4] => graph_cpu.php* .....)
php /tmp/test.php Notice: Undefined index: authmode in /usr/local/etc/inc/priv.inc on line 229Notice: Undefined index: authserver in /usr/local/etc/inc/auth.inc on line 1248Notice: Undefined index: priv in /usr/local/etc/inc/priv.inc on line 203Notice: Undefined index: member in /usr/local/etc/inc/auth.inc on line 539Array()