inline print install methods, add php7-mbstring
This commit is contained in:
@@ -17,6 +17,7 @@ RUN \
|
|||||||
php7-posix \
|
php7-posix \
|
||||||
php7-fpm \
|
php7-fpm \
|
||||||
php7-session \
|
php7-session \
|
||||||
|
php7-mbstring \
|
||||||
tar
|
tar
|
||||||
RUN ln -sf /usr/bin/php7 /usr/bin/php
|
RUN ln -sf /usr/bin/php7 /usr/bin/php
|
||||||
|
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ foreach ($lines as $line) {
|
|||||||
|
|
||||||
if (!$res) {
|
if (!$res) {
|
||||||
print_notice("Query: $line");
|
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.");
|
||||||
|
|||||||
Reference in New Issue
Block a user