diff --git a/Dockerfile b/Dockerfile index 19c253966a..d1adac26fb 100755 --- a/Dockerfile +++ b/Dockerfile @@ -89,7 +89,7 @@ RUN \ pecl install imagick yaml && \ docker-php-ext-enable imagick yaml -RUN docker-php-ext-install sockets curl pdo opcache +RUN docker-php-ext-install sockets curl opcache pdo pdo_mysql WORKDIR /usr/src/code diff --git a/app/app.php b/app/app.php index 1632aa9cef..824f36d5e4 100644 --- a/app/app.php +++ b/app/app.php @@ -5,8 +5,8 @@ require_once __DIR__.'/init.php'; global $request, $response, $register, $project; use Utopia\App; -use Utopia\Request; -use Utopia\Response; +use Appwrite\Utopia\Request; +use Appwrite\Utopia\Response; use Utopia\View; use Utopia\Exception; use Utopia\Config\Config; @@ -20,7 +20,6 @@ use Appwrite\Database\Adapter\MySQL as MySQLAdapter; use Appwrite\Database\Adapter\Redis as RedisAdapter; use Appwrite\Event\Event; use Appwrite\Network\Validator\Origin; -use Appwrite\Utopia\Response; $request = new Request(); $response = new Response(); diff --git a/app/init.php b/app/init.php index 8a80723c9d..97e0b6def6 100644 --- a/app/init.php +++ b/app/init.php @@ -21,11 +21,6 @@ use Appwrite\Database\Adapter\Redis as RedisAdapter; use Appwrite\Event\Event; use PHPMailer\PHPMailer\PHPMailer; -$locale = 'en'; -$clients = []; -$console = new Document([]); -$mode = ''; - const APP_NAME = 'Appwrite'; const APP_DOMAIN = 'appwrite.io'; const APP_EMAIL_TEAM = 'team@localhost.test'; // Default email address diff --git a/composer.lock b/composer.lock index 503d57e036..648e25eb1d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "54f5e7c2291eb22ff442d2c491fa4eca", + "content-hash": "98a049fc73b3212b0a8be4cd9120a6d0", "packages": [ { "name": "appwrite/php-clamav",