Browse Source

Hello multi language mode (bugfix for navigation)

markseu 10 years ago
parent
commit
686f7a52b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/core/core.php

+ 1 - 1
system/core/core.php

@@ -1852,7 +1852,7 @@ class YellowToolbox
 	// Return directory location
 	function getDirectoryLocation($location)
 	{
-		return ($pos = strrposu($location, '/')) ? substru($location, 0, $pos+1) : "";
+		return ($pos = strrposu($location, '/')) ? substru($location, 0, $pos+1) : "/";
 	}
 	
 	// Return files and directories