Skip to content

Commit

Permalink
Merge pull request #677 from rianbotha/master
Browse files Browse the repository at this point in the history
Path issues with JS and CSS
  • Loading branch information
jtsternberg committed Jun 29, 2016
2 parents 4adcd74 + d8cbada commit 630d305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CMB2_Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public static function get_url_from_dir( $dir ) {

// Check to see if it's anywhere in the root directory

$site_dir = ABSPATH;
$site_dir = self::normalize_path( ABSPATH );
$site_url = trailingslashit( is_multisite() ? network_site_url() : site_url() );

$url = str_replace(
Expand Down

0 comments on commit 630d305

Please sign in to comment.