mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
[+] set copy path for asset
This commit is contained in:
parent
150bc8f575
commit
5e3720b6f6
@ -4,7 +4,17 @@
|
||||
"class": "DebugBar\\StandardDebugBar"
|
||||
},
|
||||
"debugBarRenderer": {
|
||||
"class": "DebugBar\\Renderer\\JavascriptRenderer"
|
||||
"class": "DebugBar\\Renderer\\JavascriptRenderer",
|
||||
"configuration": {
|
||||
"baseUrl": "/frosting/asset/debugBar"
|
||||
}
|
||||
},
|
||||
"assetCopier": {
|
||||
"configuration": {
|
||||
"toMirror": {
|
||||
"debugBar": {"source":"<?php echo __DIRNAME__ . '/web' ?>"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ class JavascriptRenderer
|
||||
* @param \DebugBar\DebugBar $debugBar
|
||||
* @param string $baseUrl
|
||||
*
|
||||
* @Inject(debugBar="debuBar", baseUrl="$[configuration][webDirectory]")
|
||||
* @Inject(debugBar="debuBar", baseUrl="$[debugBarRenderer][baseUrl]")
|
||||
*/
|
||||
public function __construct(DebugBar $debugBar, $baseUrl = '/')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user