📦 (mvc) switch to zf1s zf1

This commit is contained in:
Lucas Bickel 2018-12-22 23:42:39 +01:00 committed by Robbt
parent 6f7c2f2cc9
commit cc1f3c62e6
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!",