Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move is_admin if block.

  • Loading branch information...
commit 978edf136720f0323f90aa11709d6414c8735d30 1 parent f4e8515
dlawson authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 load.php
View
7 load.php
@@ -18,10 +18,11 @@
cfct_template_file('asset-builder', 'config');
-$asset_url = trailingslashit(get_bloginfo('template_url'));
-foreach (Bundler::$build_profiles as $bundler) {
- if (!is_admin()) {
+if (!is_admin()) {
+ $asset_url = trailingslashit(get_bloginfo('template_url'));
+ foreach (Bundler::$build_profiles as $bundler) {
+
$asset_url_prefix = $asset_url;
$bundles = $bundler->get_bundles();
foreach($bundles as $bundle) {
Please sign in to comment.
Something went wrong with that request. Please try again.