PARTNER CHANGES; applying a fix when a first environment is created
This commit is contained in:
@@ -1354,10 +1354,15 @@ class Installer extends Controller
|
||||
|
||||
public function setConfiguration()
|
||||
{
|
||||
$query = <<<EOL
|
||||
INSERT INTO CONFIGURATION (CFG_UID, CFG_VALUE) VALUES
|
||||
('ENVIRONMENT_SETTINGS', 'a:4:{s:26:"login_enableForgotPassword";b:0;s:27:"login_enableVirtualKeyboard";b:0;s:21:"login_defaultLanguage";s:5:"pt-BR";s:10:"dateFormat";s:15:"d \\d\\e F \\d\\e Y";}');
|
||||
EOL;
|
||||
//a:4:{s:26:"login_enableForgotPassword";b:0;s:27:"login_enableVirtualKeyboard";b:0;s:21:"login_defaultLanguage";s:5:"pt-BR";s:10:"dateFormat";s:15:"d \\d\\e F \\d\\e Y";}
|
||||
$value = array(
|
||||
'login_defaultLanguage' => "pt-BR",
|
||||
"dateFormat" => 'd \d\e F \d\e Y'
|
||||
);
|
||||
|
||||
$value = serialize($value);
|
||||
$query = "INSERT INTO CONFIGURATION (CFG_UID, CFG_VALUE) VALUES ('ENVIRONMENT_SETTINGS', '".mysql_real_escape_string($value)."')";
|
||||
|
||||
$this->mysqlQuery($query);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user