Commit f4dd93ad authored by Dan Rogers's avatar Dan Rogers

Allow custom profiler.js path, which makes jQuery dependency optional.

Signed-off-by: 's avatarDan Rogers <dan.rogers@bkwld.com>
parent 8ff052cb
......@@ -119,6 +119,10 @@
</ul>
</div>
<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>
@if (Config::get('application.profiler_js_src'))
<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 -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment