📦 (mvc) switch to zf1s zf1

This commit is contained in:
Lucas Bickel 2018-12-22 23:42:39 +01:00
parent 87b8ef4f91
commit 54b1a70249
7 changed files with 1684 additions and 67 deletions

View file

@ -127,7 +127,7 @@ class DatabaseSetup extends Setup {
*/
private function createDatabase() {
$statement = self::$dbh->prepare("CREATE DATABASE " . pg_escape_string(self::$_properties["dbname"])
. " WITH ENCODING 'UTF8' TEMPLATE template0"
. " WITH ENCODING 'UNICODE' TEMPLATE template0"
. " OWNER " . pg_escape_string(self::$_properties["dbuser"]));
if (!$statement->execute()) {
throw new AirtimeDatabaseException("There was an error creating the database!",