In your command-line run the following commands:
brew doctor
brew update
In your command-line run the following commands:
brew doctor
brew update
<?php | |
namespace Craft; | |
class BusinessLogicVariable | |
{ | |
public function getRequestedLocaleId() | |
{ | |
// Return the current locale ID if any path is requested | |
if (craft()->request->getUrl() !== '/') { | |
return craft()->locale->id; |