Skip to content

Commit da942fd

Browse files
committed
Merge pull request #217 from fovoc/master
Redux fix to support installations in subdirectories
2 parents 8f1fb1a + 85a2dfa commit da942fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReduxCore/framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static function init() {
5454
}
5555

5656
self::$_dir = $fslashed_dir;
57-
self::$_url = home_url( str_replace( $fslashed_abs, '', $fslashed_dir ) );
57+
self::$_url = site_url( str_replace( $fslashed_abs, '', $fslashed_dir ) );
5858

5959
/**
6060
Still need to port these.

0 commit comments

Comments
 (0)