mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Marked cache as case insensitive
This commit is contained in:
parent
88e110b338
commit
eb15be81dd
5 changed files with 10 additions and 0 deletions
|
|
@ -135,6 +135,8 @@ const APP_AUTH_TYPE_ADMIN = 'Admin';
|
||||||
// Response related
|
// Response related
|
||||||
const MAX_OUTPUT_CHUNK_SIZE = 2*1024*1024; // 2MB
|
const MAX_OUTPUT_CHUNK_SIZE = 2*1024*1024; // 2MB
|
||||||
|
|
||||||
|
Cache::setCaseSensitivity(false);
|
||||||
|
|
||||||
$register = new Registry();
|
$register = new Registry();
|
||||||
|
|
||||||
App::setMode(App::getEnv('_APP_ENV', App::MODE_TYPE_PRODUCTION));
|
App::setMode(App::getEnv('_APP_ENV', App::MODE_TYPE_PRODUCTION));
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@ require_once __DIR__ . '/init.php';
|
||||||
|
|
||||||
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
|
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
|
||||||
|
|
||||||
|
Cache::setCaseSensitivity(false);
|
||||||
|
|
||||||
$realtime = new Realtime();
|
$realtime = new Realtime();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@ use Utopia\Database\Database;
|
||||||
use Utopia\Database\Validator\Authorization;
|
use Utopia\Database\Validator\Authorization;
|
||||||
use Utopia\Validator\Text;
|
use Utopia\Validator\Text;
|
||||||
|
|
||||||
|
Cache::setCaseSensitivity(false);
|
||||||
|
|
||||||
$cli
|
$cli
|
||||||
->task('migrate')
|
->task('migrate')
|
||||||
->param('version', APP_VERSION_STABLE, new Text(8), 'Version to migrate to.', true)
|
->param('version', APP_VERSION_STABLE, new Text(8), 'Version to migrate to.', true)
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ use Utopia\Database\Database;
|
||||||
use Utopia\Database\Document;
|
use Utopia\Database\Document;
|
||||||
use Utopia\Database\Validator\Authorization;
|
use Utopia\Database\Validator\Authorization;
|
||||||
|
|
||||||
|
Cache::setCaseSensitivity(false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Metrics We collect
|
* Metrics We collect
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@ use Utopia\Storage\Device\S3;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
|
Cache::setCaseSensitivity(false);
|
||||||
|
|
||||||
abstract class Worker
|
abstract class Worker
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue