diff --git a/vendor/joomla/libraries/joomla/environment/uri.php b/vendor/joomla/libraries/joomla/environment/uri.php
index <HASH>..<HASH> 100644
--- a/vendor/joomla/libraries/joomla/environment/uri.php
+++ b/vendor/joomla/libraries/joomla/environment/uri.php
@@ -233,7 +233,7 @@ class JURI extends JObject
 				$uri =& JURI::getInstance($live_site);
 				$base['prefix'] = $uri->toString( array('scheme', 'host', 'port'));
 				$base['path'] = rtrim($uri->toString( array('path')), '/\\');
-				if(JPATH_BASE == JPATH_ADMINISTRATOR) {
+				if(str_replace('\\', '/', JPATH_BASE) == str_replace('\\', '/', JPATH_ADMINISTRATOR)) {
 					$base['path'] .= '/administrator';
 				}
 			} else {
fix: make path comparison separator independent