inline print install methods, add php7-mbstring

This commit is contained in:
2018-12-15 09:24:31 +01:00
parent 23a44c03c0
commit 7d7fed88d0
2 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ RUN \
php7-posix \
php7-fpm \
php7-session \
php7-mbstring \
tar
RUN ln -sf /usr/bin/php7 /usr/bin/php

View File

@@ -13,9 +13,9 @@ foreach ($lines as $line) {
if (!$res) {
print_notice("Query: $line");
print_error("Error: " . implode(", ", $this->pdo->errorInfo()));
print("Error: " . implode(", ", $this->pdo->errorInfo()));
}
}
}
print_notice("Database initialization completed.");
print("Database initialization completed.");