Skip to content

Commit

Permalink
move is_admin if block.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlawson committed Jul 14, 2011
1 parent f4e8515 commit 978edf1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions load.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 978edf1

Please sign in to comment.