Allow custom profiler.js path, which makes jQuery dependency optional.
Signed-off-by: Dan Rogers <dan.rogers@bkwld.com>
This commit is contained in:
parent
8ff052cbdb
commit
f4dd93ad67
|
@ -119,6 +119,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>window.jQuery || document.write("<script src='//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'>\x3C/script>")</script>
|
@if (Config::get('application.profiler_js_src'))
|
||||||
<script>{{ file_get_contents(path('sys').'profiling/profiler.js') }}</script>
|
<script>{{ file_get_contents(Config::get('application.profiler_js_src')) }}</script>
|
||||||
|
@else
|
||||||
|
<script>window.jQuery || document.write("<script src='//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'>\x3C/script>")</script>
|
||||||
|
<script>{{ file_get_contents(path('sys').'profiling/profiler.js') }}</script>
|
||||||
|
@endif
|
||||||
<!-- /ANBU - LARAVEL PROFILER -->
|
<!-- /ANBU - LARAVEL PROFILER -->
|
||||||
|
|
Loading…
Reference in New Issue