mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 05:37:39 +02:00
DibiProfiler: the file can be specified in a configuration
This commit is contained in:
@@ -61,6 +61,10 @@ class DibiProfiler extends DibiObject implements IDibiProfiler, IDebugPanel
|
|||||||
|
|
||||||
$this->useFirebug = isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'FirePHP/');
|
$this->useFirebug = isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'FirePHP/');
|
||||||
|
|
||||||
|
if (isset($config['file'])) {
|
||||||
|
$this->setFile($config['file']);
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($config['filter'])) {
|
if (isset($config['filter'])) {
|
||||||
$this->setFilter($config['filter']);
|
$this->setFilter($config['filter']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user