Notice (1024)
: Undefined property `ErrorController::$Authentication` in `/app/src/Controller/AppController.php` on line 81 [in
/app/vendor/cakephp/cakephp/src/Controller/Controller.php, line
314]
Code
$parts = explode('\\', static::class);
trigger_error(
sprintf(
Cake\Error\ErrorTrap->handleError() [internal], line ??
/app/vendor/cakephp/cakephp/src/Controller/Controller.php /app/vendor/cakephp/cakephp/src/Controller/Controller.php, line 314
Cake\Controller\Controller->__get() /app/src/Controller/AppController.php, line 81
App\Controller\AppController->beforeRender() /app/src/Controller/ErrorController.php, line 60
App\Controller\ErrorController->beforeRender() /app/vendor/cakephp/cakephp/src/Event/EventManager.php, line 332
Cake\Event\EventManager->_callListener() /app/vendor/cakephp/cakephp/src/Event/EventManager.php, line 316
Cake\Event\EventManager->dispatch() /app/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller->dispatchEvent() /app/vendor/cakephp/cakephp/src/Controller/Controller.php, line 696
Cake\Controller\Controller->render() /app/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433
Cake\Error\Renderer\WebExceptionRenderer->_outputMessage() /app/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 278
Cake\Error\Renderer\WebExceptionRenderer->render() /app/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 149
Cake\Error\Middleware\ErrorHandlerMiddleware->handleException() /app/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 119
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /app/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /app/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60
DebugKit\Middleware\DebugKitMiddleware->process() /app/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /app/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /app/src/AppServer.php, line 53
App\AppServer->handle() /app/webroot/index.php, line 54
[internal] [internal], line ??
/app/webroot/index.php /app/webroot/index.php, line 60
[main]
Notice (1024)
: Undefined property `ErrorController::$Authentication` in `/app/src/Controller/AppController.php` on line 81 [in
/app/vendor/cakephp/cakephp/src/Controller/Controller.php, line
314]
Code
$parts = explode('\\', static::class);
trigger_error(
sprintf(
Cake\Error\ErrorTrap->handleError() [internal], line ??
/app/vendor/cakephp/cakephp/src/Controller/Controller.php /app/vendor/cakephp/cakephp/src/Controller/Controller.php, line 314
Cake\Controller\Controller->__get() /app/src/Controller/AppController.php, line 81
App\Controller\AppController->beforeRender() /app/src/Controller/ErrorController.php, line 60
App\Controller\ErrorController->beforeRender() /app/vendor/cakephp/cakephp/src/Event/EventManager.php, line 332
Cake\Event\EventManager->_callListener() /app/vendor/cakephp/cakephp/src/Event/EventManager.php, line 316
Cake\Event\EventManager->dispatch() /app/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php, line 92
Cake\Controller\Controller->dispatchEvent() /app/vendor/cakephp/cakephp/src/Controller/Controller.php, line 696
Cake\Controller\Controller->render() /app/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 433
Cake\Error\Renderer\WebExceptionRenderer->_outputMessage() /app/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 460
Cake\Error\Renderer\WebExceptionRenderer->_outputMessage() /app/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 278
Cake\Error\Renderer\WebExceptionRenderer->render() /app/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 149
Cake\Error\Middleware\ErrorHandlerMiddleware->handleException() /app/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php, line 119
Cake\Error\Middleware\ErrorHandlerMiddleware->process() /app/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /app/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php, line 60
DebugKit\Middleware\DebugKitMiddleware->process() /app/vendor/cakephp/cakephp/src/Http/Runner.php, line 82
Cake\Http\Runner->handle() /app/vendor/cakephp/cakephp/src/Http/Runner.php, line 60
Cake\Http\Runner->run() /app/src/AppServer.php, line 53
App\AppServer->handle() /app/webroot/index.php, line 54
[internal] [internal], line ??
/app/webroot/index.php /app/webroot/index.php, line 60
[main]
Warning (512)
: Unable to emit headers. Headers sent in file=/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in
/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
65]
Code
$message = "Unable to emit headers. Headers sent in file={$file} line={$line}";
trigger_error($message, E_USER_WARNING);
}
Cake\Error\ErrorTrap->handleError() [internal], line ??
/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /app/vendor/cakephp/cakephp/src/Http/Server.php, line 142
Cake\Http\Server->emit() /app/webroot/index.php, line 54
[internal] [internal], line ??
/app/webroot/index.php /app/webroot/index.php, line 60
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
158]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
Cake\Error\ErrorTrap->handleError() [internal], line ??
/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 158
Cake\Http\ResponseEmitter->emitStatusLine() /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /app/vendor/cakephp/cakephp/src/Http/Server.php, line 142
Cake\Http\Server->emit() /app/webroot/index.php, line 54
[internal] [internal], line ??
/app/webroot/index.php /app/webroot/index.php, line 60
[main]
Warning (2)
: Cannot modify header information - headers already sent by (output started at /app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in
/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line
191]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
Cake\Error\ErrorTrap->handleError() [internal], line ??
/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 191
Cake\Http\ResponseEmitter->emitHeaders() /app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /app/vendor/cakephp/cakephp/src/Http/Server.php, line 142
Cake\Http\Server->emit() /app/webroot/index.php, line 54
[internal] [internal], line ??
/app/webroot/index.php /app/webroot/index.php, line 60
[main]
Could this be caused by using Auto-Tables?
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table"
instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
- The class for the specified table does not exist.
- The Table was created with a typo: $this->getTableLocator()->get('Articles');
- The class file has a typo in the name or incorrect namespace: class Articles extends Table
- The file containing the class has a typo or incorrect casing: Articles.php
- The Table was used using associations but the association has a typo: $this->belongsTo('Articles')
- The table class resides in a Plugin but no plugin notation was used in the association definition.
Please try correcting the issue for the following table aliases:
CORE/src/Database/Schema/MysqlSchemaDialect.php at line 127
(edit)
|
$sql = $this->describeColumnQuery($tableName);
|
|
try {
|
|
$rows = $this->_driver->execute($sql)->fetchAll('assoc');
|
|
} catch (PDOException $e) {
|
|
throw new DatabaseException("Could not describe columns on `{$tableName}`", null, $e);
|
|
}
|
|
|
|
$geometryColumns = [];
|
|
if (array_intersect(array_column($rows, 'Type'), TableSchemaInterface::GEOSPATIAL_TYPES)) {
|
-
|
if (str_contains($name, '.')) {
|
|
$tableName = explode('.', $name)[1];
|
|
}
|
|
$table = $this->_driver->newTableSchema($tableName);
|
|
foreach ($this->describeColumns($name) as $column) {
|
|
$table->addColumn($column['name'], $column);
|
|
}
|
|
foreach ($this->describeIndexes($name) as $index) {
|
|
if (in_array($index['type'], [TableSchema::CONSTRAINT_UNIQUE, TableSchema::CONSTRAINT_PRIMARY])) {
|
Toggle Arguments
-
|
* @throws \Cake\Database\Exception\DatabaseException when table cannot be described.
|
|
*/
|
|
public function describe(string $name, array $options = []): TableSchemaInterface
|
|
{
|
|
return $this->getDialect()->describe($name);
|
|
}
|
|
|
|
/**
|
|
* Setups the schema dialect to be used for this collection.
|
Toggle Arguments
-
|
return $cached;
|
|
}
|
|
}
|
|
|
|
$table = $this->collection->describe($name, $options);
|
|
$this->cacher->set($cacheKey, $table);
|
|
|
|
return $table;
|
|
}
|
Toggle Arguments
[
'forceRefresh' => false,
]
-
|
{
|
|
if ($this->_schema === null) {
|
|
$this->_schema = $this->getConnection()
|
|
->getSchemaCollection()
|
|
->describe($this->getTable());
|
|
if (Configure::read('debug')) {
|
|
$this->checkAliasLengths();
|
|
}
|
|
}
|
Toggle Arguments
-
|
*/
|
|
public function addDefaultTypes(Table $table)
|
|
{
|
|
$alias = $table->getAlias();
|
|
$map = $table->getSchema()->typeMap();
|
|
$fields = [];
|
|
foreach ($map as $f => $type) {
|
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type;
|
|
}
|
Toggle Arguments
-
|
{
|
|
parent::__construct($table->getConnection());
|
|
|
|
$this->setRepository($table);
|
|
$this->addDefaultTypes($table);
|
|
}
|
|
|
|
/**
|
|
* Set the result set for a query.
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
* @return \Cake\ORM\Query\SelectQuery<\Cake\Datasource\EntityInterface|array>
|
|
*/
|
|
public function select(Table $table): SelectQuery
|
|
{
|
|
return new SelectQuery($table);
|
|
}
|
|
|
|
/**
|
|
* Create a new InsertQuery instance.
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
*/
|
|
public function selectQuery(): SelectQuery
|
|
{
|
|
/** @var \Cake\ORM\Query\SelectQuery<TEntity> $query */
|
|
$query = $this->queryFactory->select($this);
|
|
|
|
return $query;
|
|
}
|
|
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
*/
|
|
public function find(string $type = 'all', mixed ...$args): SelectQuery
|
|
{
|
|
/** @var \Cake\ORM\Query\SelectQuery<TEntity> $query */
|
|
$query = $this->callFinder($type, $this->selectQuery(), ...$args);
|
|
|
|
return $query;
|
|
}
|
|
|
Toggle Arguments
-
|
}
|
|
unset($args['key'], $args['cache'], $args['finder']);
|
|
}
|
|
|
|
$query = $this->find($finder, ...$args)->where($conditions);
|
|
|
|
if ($cache) {
|
|
if (!$cacheKey) {
|
|
$cacheKey = sprintf(
|
Toggle Arguments
[
(int) 0 => 'Units',
(int) 1 => 'ParentTags',
(int) 2 => 'ChildTags',
]
-
|
$id = is_int($tag) ? $tag : $tag?->id;
|
|
$cache_key = "units_for_tag_$id";
|
|
$result = Cache::read($cache_key, '_one_month_');
|
|
if(!is_null($result)) return $result;
|
|
$tag = is_int($tag) ? $this->get($id, contain:['Units', 'ParentTags', 'ChildTags']) : $tag;
|
|
|
|
$tags = [];
|
|
if($id){
|
|
$tags = $this->findHierarchyFor($tag);
|
Toggle Arguments
[
(int) 0 => (int) 681,
]
[
(int) 0 => 'Units',
(int) 1 => 'ParentTags',
(int) 2 => 'ChildTags',
]
-
|
$full = true;
|
|
$this->set(compact('units', 'full'));
|
|
return;
|
|
}
|
|
$units = $this->Tags->getAllRelatedUnits($tag?->id);
|
|
$units && $this->Units->loadInto($units, ['Documents']);
|
|
$units = $this->sortUnits($units);
|
|
$full = false;
|
|
$this->set(compact('units', 'full'));
|
Toggle Arguments
-
|
* @return void
|
|
*/
|
|
public function invokeAction(Closure $action, array $args): void
|
|
{
|
|
$result = $action(...$args);
|
|
if ($result !== null) {
|
|
assert(
|
|
$result instanceof Response,
|
|
sprintf(
|
Toggle Arguments
-
|
$args = $this->getActionArgs(
|
|
$action,
|
|
array_values((array)$controller->getRequest()->getParam('pass')),
|
|
);
|
|
$controller->invokeAction($action, $args);
|
|
|
|
$result = $controller->shutdownProcess();
|
|
if ($result !== null) {
|
|
return $result;
|
Toggle Arguments
[
(int) 0 => 'gr2187710117',
(int) 1 => null,
]
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this);
|
|
}
|
|
|
|
return $this->handle($controller->getRequest());
|
|
}
|
|
|
|
/**
|
|
* Invoke the action.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$controller = $this->controllerFactory->create($request);
|
|
|
|
return $this->controllerFactory->invoke($controller);
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(App\Controller\DocumentsController) id:0 {
Units => object(App\Model\Table\UnitsTable) id:1 {
'registryAlias' => 'Units'
'table' => 'units'
'alias' => 'Units'
'entityClass' => 'App\Model\Entity\Unit'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'Documents',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Users => object(App\Model\Table\UsersTable) id:2 {
'registryAlias' => 'Users'
'table' => 'users'
'alias' => 'Users'
'entityClass' => 'App\Model\Entity\User'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'PushTokens',
(int) 2 => 'Visits',
(int) 3 => 'Lecturers',
(int) 4 => 'Students',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Tags => object(App\Model\Table\TagsTable) id:3 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Documents => object(App\Model\Table\DocumentsTable) id:4 {
'registryAlias' => 'Documents'
'table' => 'documents'
'alias' => 'Documents'
'entityClass' => 'App\Model\Entity\Document'
'associations' => [
(int) 0 => 'Units',
(int) 1 => 'Users',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected name => 'Documents'
protected request => object(Cake\Http\ServerRequest) id:5 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
}
protected session => object(Cake\Http\Session) id:8 {
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:10 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:11 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected paginate => [
]
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:12 {
'_loaded' => [
(int) 0 => 'Flash',
(int) 1 => 'Authentication',
]
'_Controller' => object(App\Controller\DocumentsController) id: 0 {}
'container' => object(Cake\Core\Container) id:13 {
}
'_eventManager' => object(Cake\Event\EventManager) id:14 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 14 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Documents'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:15 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected queryFactory => object(Cake\ORM\Query\QueryFactory) id:16 {
}
protected instances => [
'' => [maximum depth reached],
]
protected options => [
'' => [maximum depth reached],
]
}
protected _viewBuilder => null
}
-
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
|
}
|
|
|
|
return new Response([
|
|
'body' => 'Middleware queue was exhausted without returning a response '
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if(!str_starts_with($request->getUri()->getPath(), '/users/cgu'))
|
|
return new RedirectResponse('/users/cgu?redirect='.$redirect);
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
/**
|
|
* @param AuthenticationService $authService
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$device = $request->getCookieParams()['media']??'web';
|
|
Device::$type = $device;
|
|
return $handler->handle($request->withAttribute('device', $device) );
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
class RealTimeTokenMiddleware implements MiddlewareInterface
|
|
{
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$response = $handler->handle($request);
|
|
|
|
$identity = $request->getAttribute('identity');
|
|
$hasCookie = (bool)($request->getCookieParams()['rt_token'] ?? null);
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$request = $request->withAttribute('authentication', $service);
|
|
$request = $request->withAttribute('authenticationResult', $result);
|
|
|
|
try {
|
|
$response = $handler->handle($request);
|
|
$authenticator = $service->getAuthenticationProvider();
|
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface && $result->getData()) {
|
|
$return = $service->persistIdentity($request, $response, $result->getData());
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
|
|
if ($method === 'GET' && $cookieData === null) {
|
|
$token = $this->createToken();
|
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token));
|
|
$response = $handler->handle($request);
|
|
|
|
return $this->_addTokenCookie($token, $request, $response);
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
if (!in_array($request->getMethod(), $this->methods, true)) {
|
|
return $handler->handle($request);
|
|
}
|
|
[$type] = explode(';', $request->getHeaderLine('Content-Type'));
|
|
$type = strtolower($type);
|
|
if (!isset($this->parsers[$type])) {
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
);
|
|
}
|
|
$matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
if (!$matching) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$container = $this->app instanceof ContainerApplicationInterface
|
|
? $this->app->getContainer()
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$url = $request->getUri()->getPath();
|
|
if (str_contains($url, '..') || !str_contains($url, '.')) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
if (str_contains($url, '/.')) {
|
|
return $handler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
try {
|
|
return $handler->handle($request);
|
|
} catch (RedirectException $exception) {
|
|
return $this->handleRedirect($exception);
|
|
} catch (Throwable $exception) {
|
|
return $this->handleException($exception, Router::getRequest() ?? $request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
if ($this->service->isEnabled()) {
|
|
$this->service->loadPanels();
|
|
$this->service->initializePanels();
|
|
}
|
|
$response = $handler->handle($request);
|
|
|
|
if (!$this->service->isEnabled()) {
|
|
return $response;
|
|
}
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$this->queue = $queue;
|
|
$this->queue->rewind();
|
|
$this->fallbackHandler = $fallbackHandler;
|
|
|
|
return $this->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Handle incoming server request and return a response.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
{
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $this->middleware]);
|
|
$request = ServerRequestFactory::fromGlobals();
|
|
$runner = $this->runner;
|
|
$response = $runner->run($this->middleware, $request, $this->app);
|
|
|
|
if ($request instanceof ServerRequest) {
|
|
$request->getSession()->close();
|
|
}
|
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 10
protected queue => [
(int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) id:1 {
},
(int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) id:3 {
},
(int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\BodyParserMiddleware) id:5 {
},
(int) 5 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:6 {
},
(int) 6 => object(Authentication\Middleware\AuthenticationMiddleware) id:7 {
},
(int) 7 => object(App\Middleware\RealTimeTokenMiddleware) id:8 {
},
(int) 8 => object(App\Middleware\DeviceDetectorMiddleware) id:9 {
},
(int) 9 => object(App\Middleware\AnalyticsMiddleware) id:10 {
},
]
protected container => object(Cake\Core\Container) id:11 {
protected delegates => [
'' => [maximum depth reached],
]
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:12 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:13 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:14 {
}
protected defaultToShared => false
protected defaultToOverwrite => false
protected eventDispatcher => object(League\Container\Event\EventDispatcher) id:15 {
}
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\DocumentsController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
'Error.beforeRender' => '21 listener(s)',
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
|
|
$initialServer = $_SERVER;
|
|
|
|
$handler = static function () use (&$server): void {
|
|
$server->emit($server->handle());
|
|
};
|
|
|
|
$maxRequests = (int)(200);
|
|
for ($nbRequests = 0; !$maxRequests || $nbRequests < $maxRequests; ++$nbRequests) {
|
Toggle Arguments
-
-
|
|
|
$maxRequests = (int)(200);
|
|
for ($nbRequests = 0; !$maxRequests || $nbRequests < $maxRequests; ++$nbRequests) {
|
|
\Cake\Core\Configure::write('SERVER.TYPE', 'FRANKENPHP');
|
|
$keepRunning = \frankenphp_handle_request($handler);
|
|
|
|
// Close and destroy the session so it cannot bleed into the next request
|
|
if (session_status() === PHP_SESSION_ACTIVE) {
|
|
session_unset();
|
Toggle Arguments
-
CORE/src/Database/Driver.php at line 390
(edit)
|
'driver' => $this,
|
|
'params' => $params ?? $statement->getBoundParams(),
|
|
]);
|
|
|
|
return new QueryException($loggedQuery, $exception);
|
|
}
|
|
|
|
/**
|
|
* Prepares a sql statement to be executed.
|
-
|
if ($this->logger === null) {
|
|
try {
|
|
$statement->execute($params);
|
|
} catch (PDOException $e) {
|
|
throw $this->createQueryException($e, $statement, $params);
|
|
}
|
|
|
|
return;
|
|
}
|
Toggle Arguments
object(PDOException) id:0 {
errorInfo => [
(int) 0 => 'HY000',
(int) 1 => (int) 2006,
(int) 2 => 'MySQL server has gone away',
]
protected message => 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away'
protected file => '/app/vendor/cakephp/cakephp/src/Database/Statement/Statement.php'
protected line => (int) 144
protected code => 'HY000'
}
object(Cake\Database\Statement\Statement) id:0 {
protected _driver => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => true
'role' => 'write'
}
protected params => [
]
protected statement => object(PDOStatement) id:2 {
queryString => 'SHOW FULL COLUMNS FROM `tags`'
}
protected resultDecorators => [
]
}
-
|
$statement = $this->prepare($sql);
|
|
if ($params) {
|
|
$statement->bind($params, $types);
|
|
}
|
|
$this->executeStatement($statement);
|
|
|
|
return $statement;
|
|
}
|
|
|
Toggle Arguments
object(Cake\Database\Statement\Statement) id:0 {
protected _driver => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => true
'role' => 'write'
}
protected params => [
]
protected statement => object(PDOStatement) id:2 {
queryString => 'SHOW FULL COLUMNS FROM `tags`'
}
protected resultDecorators => [
]
}
-
|
public function describeColumns(string $tableName): array
|
|
{
|
|
$sql = $this->describeColumnQuery($tableName);
|
|
try {
|
|
$rows = $this->_driver->execute($sql)->fetchAll('assoc');
|
|
} catch (PDOException $e) {
|
|
throw new DatabaseException("Could not describe columns on `{$tableName}`", null, $e);
|
|
}
|
|
|
Toggle Arguments
'SHOW FULL COLUMNS FROM `tags`'
-
|
if (str_contains($name, '.')) {
|
|
$tableName = explode('.', $name)[1];
|
|
}
|
|
$table = $this->_driver->newTableSchema($tableName);
|
|
foreach ($this->describeColumns($name) as $column) {
|
|
$table->addColumn($column['name'], $column);
|
|
}
|
|
foreach ($this->describeIndexes($name) as $index) {
|
|
if (in_array($index['type'], [TableSchema::CONSTRAINT_UNIQUE, TableSchema::CONSTRAINT_PRIMARY])) {
|
Toggle Arguments
-
|
* @throws \Cake\Database\Exception\DatabaseException when table cannot be described.
|
|
*/
|
|
public function describe(string $name, array $options = []): TableSchemaInterface
|
|
{
|
|
return $this->getDialect()->describe($name);
|
|
}
|
|
|
|
/**
|
|
* Setups the schema dialect to be used for this collection.
|
Toggle Arguments
-
|
return $cached;
|
|
}
|
|
}
|
|
|
|
$table = $this->collection->describe($name, $options);
|
|
$this->cacher->set($cacheKey, $table);
|
|
|
|
return $table;
|
|
}
|
Toggle Arguments
[
'forceRefresh' => false,
]
-
|
{
|
|
if ($this->_schema === null) {
|
|
$this->_schema = $this->getConnection()
|
|
->getSchemaCollection()
|
|
->describe($this->getTable());
|
|
if (Configure::read('debug')) {
|
|
$this->checkAliasLengths();
|
|
}
|
|
}
|
Toggle Arguments
-
|
*/
|
|
public function addDefaultTypes(Table $table)
|
|
{
|
|
$alias = $table->getAlias();
|
|
$map = $table->getSchema()->typeMap();
|
|
$fields = [];
|
|
foreach ($map as $f => $type) {
|
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type;
|
|
}
|
Toggle Arguments
-
|
{
|
|
parent::__construct($table->getConnection());
|
|
|
|
$this->setRepository($table);
|
|
$this->addDefaultTypes($table);
|
|
}
|
|
|
|
/**
|
|
* Set the result set for a query.
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
* @return \Cake\ORM\Query\SelectQuery<\Cake\Datasource\EntityInterface|array>
|
|
*/
|
|
public function select(Table $table): SelectQuery
|
|
{
|
|
return new SelectQuery($table);
|
|
}
|
|
|
|
/**
|
|
* Create a new InsertQuery instance.
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
*/
|
|
public function selectQuery(): SelectQuery
|
|
{
|
|
/** @var \Cake\ORM\Query\SelectQuery<TEntity> $query */
|
|
$query = $this->queryFactory->select($this);
|
|
|
|
return $query;
|
|
}
|
|
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
*/
|
|
public function find(string $type = 'all', mixed ...$args): SelectQuery
|
|
{
|
|
/** @var \Cake\ORM\Query\SelectQuery<TEntity> $query */
|
|
$query = $this->callFinder($type, $this->selectQuery(), ...$args);
|
|
|
|
return $query;
|
|
}
|
|
|
Toggle Arguments
-
|
}
|
|
unset($args['key'], $args['cache'], $args['finder']);
|
|
}
|
|
|
|
$query = $this->find($finder, ...$args)->where($conditions);
|
|
|
|
if ($cache) {
|
|
if (!$cacheKey) {
|
|
$cacheKey = sprintf(
|
Toggle Arguments
[
(int) 0 => 'Units',
(int) 1 => 'ParentTags',
(int) 2 => 'ChildTags',
]
-
|
$id = is_int($tag) ? $tag : $tag?->id;
|
|
$cache_key = "units_for_tag_$id";
|
|
$result = Cache::read($cache_key, '_one_month_');
|
|
if(!is_null($result)) return $result;
|
|
$tag = is_int($tag) ? $this->get($id, contain:['Units', 'ParentTags', 'ChildTags']) : $tag;
|
|
|
|
$tags = [];
|
|
if($id){
|
|
$tags = $this->findHierarchyFor($tag);
|
Toggle Arguments
[
(int) 0 => (int) 681,
]
[
(int) 0 => 'Units',
(int) 1 => 'ParentTags',
(int) 2 => 'ChildTags',
]
-
|
$full = true;
|
|
$this->set(compact('units', 'full'));
|
|
return;
|
|
}
|
|
$units = $this->Tags->getAllRelatedUnits($tag?->id);
|
|
$units && $this->Units->loadInto($units, ['Documents']);
|
|
$units = $this->sortUnits($units);
|
|
$full = false;
|
|
$this->set(compact('units', 'full'));
|
Toggle Arguments
-
|
* @return void
|
|
*/
|
|
public function invokeAction(Closure $action, array $args): void
|
|
{
|
|
$result = $action(...$args);
|
|
if ($result !== null) {
|
|
assert(
|
|
$result instanceof Response,
|
|
sprintf(
|
Toggle Arguments
-
|
$args = $this->getActionArgs(
|
|
$action,
|
|
array_values((array)$controller->getRequest()->getParam('pass')),
|
|
);
|
|
$controller->invokeAction($action, $args);
|
|
|
|
$result = $controller->shutdownProcess();
|
|
if ($result !== null) {
|
|
return $result;
|
Toggle Arguments
[
(int) 0 => 'gr2187710117',
(int) 1 => null,
]
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this);
|
|
}
|
|
|
|
return $this->handle($controller->getRequest());
|
|
}
|
|
|
|
/**
|
|
* Invoke the action.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$controller = $this->controllerFactory->create($request);
|
|
|
|
return $this->controllerFactory->invoke($controller);
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(App\Controller\DocumentsController) id:0 {
Units => object(App\Model\Table\UnitsTable) id:1 {
'registryAlias' => 'Units'
'table' => 'units'
'alias' => 'Units'
'entityClass' => 'App\Model\Entity\Unit'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'Documents',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Users => object(App\Model\Table\UsersTable) id:2 {
'registryAlias' => 'Users'
'table' => 'users'
'alias' => 'Users'
'entityClass' => 'App\Model\Entity\User'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'PushTokens',
(int) 2 => 'Visits',
(int) 3 => 'Lecturers',
(int) 4 => 'Students',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Tags => object(App\Model\Table\TagsTable) id:3 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Documents => object(App\Model\Table\DocumentsTable) id:4 {
'registryAlias' => 'Documents'
'table' => 'documents'
'alias' => 'Documents'
'entityClass' => 'App\Model\Entity\Document'
'associations' => [
(int) 0 => 'Units',
(int) 1 => 'Users',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected name => 'Documents'
protected request => object(Cake\Http\ServerRequest) id:5 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
}
protected session => object(Cake\Http\Session) id:8 {
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:10 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:11 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected paginate => [
]
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:12 {
'_loaded' => [
(int) 0 => 'Flash',
(int) 1 => 'Authentication',
]
'_Controller' => object(App\Controller\DocumentsController) id: 0 {}
'container' => object(Cake\Core\Container) id:13 {
}
'_eventManager' => object(Cake\Event\EventManager) id:14 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 14 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Documents'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:15 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected queryFactory => object(Cake\ORM\Query\QueryFactory) id:16 {
}
protected instances => [
'' => [maximum depth reached],
]
protected options => [
'' => [maximum depth reached],
]
}
protected _viewBuilder => null
}
-
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
|
}
|
|
|
|
return new Response([
|
|
'body' => 'Middleware queue was exhausted without returning a response '
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if(!str_starts_with($request->getUri()->getPath(), '/users/cgu'))
|
|
return new RedirectResponse('/users/cgu?redirect='.$redirect);
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
/**
|
|
* @param AuthenticationService $authService
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$device = $request->getCookieParams()['media']??'web';
|
|
Device::$type = $device;
|
|
return $handler->handle($request->withAttribute('device', $device) );
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
class RealTimeTokenMiddleware implements MiddlewareInterface
|
|
{
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$response = $handler->handle($request);
|
|
|
|
$identity = $request->getAttribute('identity');
|
|
$hasCookie = (bool)($request->getCookieParams()['rt_token'] ?? null);
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$request = $request->withAttribute('authentication', $service);
|
|
$request = $request->withAttribute('authenticationResult', $result);
|
|
|
|
try {
|
|
$response = $handler->handle($request);
|
|
$authenticator = $service->getAuthenticationProvider();
|
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface && $result->getData()) {
|
|
$return = $service->persistIdentity($request, $response, $result->getData());
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
|
|
if ($method === 'GET' && $cookieData === null) {
|
|
$token = $this->createToken();
|
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token));
|
|
$response = $handler->handle($request);
|
|
|
|
return $this->_addTokenCookie($token, $request, $response);
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
if (!in_array($request->getMethod(), $this->methods, true)) {
|
|
return $handler->handle($request);
|
|
}
|
|
[$type] = explode(';', $request->getHeaderLine('Content-Type'));
|
|
$type = strtolower($type);
|
|
if (!isset($this->parsers[$type])) {
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
);
|
|
}
|
|
$matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
if (!$matching) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$container = $this->app instanceof ContainerApplicationInterface
|
|
? $this->app->getContainer()
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$url = $request->getUri()->getPath();
|
|
if (str_contains($url, '..') || !str_contains($url, '.')) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
if (str_contains($url, '/.')) {
|
|
return $handler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
try {
|
|
return $handler->handle($request);
|
|
} catch (RedirectException $exception) {
|
|
return $this->handleRedirect($exception);
|
|
} catch (Throwable $exception) {
|
|
return $this->handleException($exception, Router::getRequest() ?? $request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
if ($this->service->isEnabled()) {
|
|
$this->service->loadPanels();
|
|
$this->service->initializePanels();
|
|
}
|
|
$response = $handler->handle($request);
|
|
|
|
if (!$this->service->isEnabled()) {
|
|
return $response;
|
|
}
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$this->queue = $queue;
|
|
$this->queue->rewind();
|
|
$this->fallbackHandler = $fallbackHandler;
|
|
|
|
return $this->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Handle incoming server request and return a response.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
{
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $this->middleware]);
|
|
$request = ServerRequestFactory::fromGlobals();
|
|
$runner = $this->runner;
|
|
$response = $runner->run($this->middleware, $request, $this->app);
|
|
|
|
if ($request instanceof ServerRequest) {
|
|
$request->getSession()->close();
|
|
}
|
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 10
protected queue => [
(int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) id:1 {
},
(int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) id:3 {
},
(int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\BodyParserMiddleware) id:5 {
},
(int) 5 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:6 {
},
(int) 6 => object(Authentication\Middleware\AuthenticationMiddleware) id:7 {
},
(int) 7 => object(App\Middleware\RealTimeTokenMiddleware) id:8 {
},
(int) 8 => object(App\Middleware\DeviceDetectorMiddleware) id:9 {
},
(int) 9 => object(App\Middleware\AnalyticsMiddleware) id:10 {
},
]
protected container => object(Cake\Core\Container) id:11 {
protected delegates => [
'' => [maximum depth reached],
]
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:12 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:13 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:14 {
}
protected defaultToShared => false
protected defaultToOverwrite => false
protected eventDispatcher => object(League\Container\Event\EventDispatcher) id:15 {
}
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\DocumentsController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
'Error.beforeRender' => '21 listener(s)',
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
|
|
$initialServer = $_SERVER;
|
|
|
|
$handler = static function () use (&$server): void {
|
|
$server->emit($server->handle());
|
|
};
|
|
|
|
$maxRequests = (int)(200);
|
|
for ($nbRequests = 0; !$maxRequests || $nbRequests < $maxRequests; ++$nbRequests) {
|
Toggle Arguments
-
-
CORE/src/Database/Statement/Statement.php at line 144
(edit)
|
* @inheritDoc
|
|
*/
|
|
public function execute(?array $params = null): bool
|
|
{
|
|
return $this->statement->execute($params);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
-
|
* @inheritDoc
|
|
*/
|
|
public function execute(?array $params = null): bool
|
|
{
|
|
return $this->statement->execute($params);
|
|
}
|
|
|
|
/**
|
|
* @inheritDoc
|
Toggle Arguments
-
|
protected function executeStatement(StatementInterface $statement, ?array $params = null): void
|
|
{
|
|
if ($this->logger === null) {
|
|
try {
|
|
$statement->execute($params);
|
|
} catch (PDOException $e) {
|
|
throw $this->createQueryException($e, $statement, $params);
|
|
}
|
|
|
Toggle Arguments
-
|
$statement = $this->prepare($sql);
|
|
if ($params) {
|
|
$statement->bind($params, $types);
|
|
}
|
|
$this->executeStatement($statement);
|
|
|
|
return $statement;
|
|
}
|
|
|
Toggle Arguments
object(Cake\Database\Statement\Statement) id:0 {
protected _driver => object(Cake\Database\Driver\Mysql) id:1 {
'connected' => true
'role' => 'write'
}
protected params => [
]
protected statement => object(PDOStatement) id:2 {
queryString => 'SHOW FULL COLUMNS FROM `tags`'
}
protected resultDecorators => [
]
}
-
|
public function describeColumns(string $tableName): array
|
|
{
|
|
$sql = $this->describeColumnQuery($tableName);
|
|
try {
|
|
$rows = $this->_driver->execute($sql)->fetchAll('assoc');
|
|
} catch (PDOException $e) {
|
|
throw new DatabaseException("Could not describe columns on `{$tableName}`", null, $e);
|
|
}
|
|
|
Toggle Arguments
'SHOW FULL COLUMNS FROM `tags`'
-
|
if (str_contains($name, '.')) {
|
|
$tableName = explode('.', $name)[1];
|
|
}
|
|
$table = $this->_driver->newTableSchema($tableName);
|
|
foreach ($this->describeColumns($name) as $column) {
|
|
$table->addColumn($column['name'], $column);
|
|
}
|
|
foreach ($this->describeIndexes($name) as $index) {
|
|
if (in_array($index['type'], [TableSchema::CONSTRAINT_UNIQUE, TableSchema::CONSTRAINT_PRIMARY])) {
|
Toggle Arguments
-
|
* @throws \Cake\Database\Exception\DatabaseException when table cannot be described.
|
|
*/
|
|
public function describe(string $name, array $options = []): TableSchemaInterface
|
|
{
|
|
return $this->getDialect()->describe($name);
|
|
}
|
|
|
|
/**
|
|
* Setups the schema dialect to be used for this collection.
|
Toggle Arguments
-
|
return $cached;
|
|
}
|
|
}
|
|
|
|
$table = $this->collection->describe($name, $options);
|
|
$this->cacher->set($cacheKey, $table);
|
|
|
|
return $table;
|
|
}
|
Toggle Arguments
[
'forceRefresh' => false,
]
-
|
{
|
|
if ($this->_schema === null) {
|
|
$this->_schema = $this->getConnection()
|
|
->getSchemaCollection()
|
|
->describe($this->getTable());
|
|
if (Configure::read('debug')) {
|
|
$this->checkAliasLengths();
|
|
}
|
|
}
|
Toggle Arguments
-
|
*/
|
|
public function addDefaultTypes(Table $table)
|
|
{
|
|
$alias = $table->getAlias();
|
|
$map = $table->getSchema()->typeMap();
|
|
$fields = [];
|
|
foreach ($map as $f => $type) {
|
|
$fields[$f] = $fields[$alias . '.' . $f] = $fields[$alias . '__' . $f] = $type;
|
|
}
|
Toggle Arguments
-
|
{
|
|
parent::__construct($table->getConnection());
|
|
|
|
$this->setRepository($table);
|
|
$this->addDefaultTypes($table);
|
|
}
|
|
|
|
/**
|
|
* Set the result set for a query.
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
* @return \Cake\ORM\Query\SelectQuery<\Cake\Datasource\EntityInterface|array>
|
|
*/
|
|
public function select(Table $table): SelectQuery
|
|
{
|
|
return new SelectQuery($table);
|
|
}
|
|
|
|
/**
|
|
* Create a new InsertQuery instance.
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
*/
|
|
public function selectQuery(): SelectQuery
|
|
{
|
|
/** @var \Cake\ORM\Query\SelectQuery<TEntity> $query */
|
|
$query = $this->queryFactory->select($this);
|
|
|
|
return $query;
|
|
}
|
|
|
Toggle Arguments
object(App\Model\Table\TagsTable) id:0 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
-
|
*/
|
|
public function find(string $type = 'all', mixed ...$args): SelectQuery
|
|
{
|
|
/** @var \Cake\ORM\Query\SelectQuery<TEntity> $query */
|
|
$query = $this->callFinder($type, $this->selectQuery(), ...$args);
|
|
|
|
return $query;
|
|
}
|
|
|
Toggle Arguments
-
|
}
|
|
unset($args['key'], $args['cache'], $args['finder']);
|
|
}
|
|
|
|
$query = $this->find($finder, ...$args)->where($conditions);
|
|
|
|
if ($cache) {
|
|
if (!$cacheKey) {
|
|
$cacheKey = sprintf(
|
Toggle Arguments
[
(int) 0 => 'Units',
(int) 1 => 'ParentTags',
(int) 2 => 'ChildTags',
]
-
|
$id = is_int($tag) ? $tag : $tag?->id;
|
|
$cache_key = "units_for_tag_$id";
|
|
$result = Cache::read($cache_key, '_one_month_');
|
|
if(!is_null($result)) return $result;
|
|
$tag = is_int($tag) ? $this->get($id, contain:['Units', 'ParentTags', 'ChildTags']) : $tag;
|
|
|
|
$tags = [];
|
|
if($id){
|
|
$tags = $this->findHierarchyFor($tag);
|
Toggle Arguments
[
(int) 0 => (int) 681,
]
[
(int) 0 => 'Units',
(int) 1 => 'ParentTags',
(int) 2 => 'ChildTags',
]
-
|
$full = true;
|
|
$this->set(compact('units', 'full'));
|
|
return;
|
|
}
|
|
$units = $this->Tags->getAllRelatedUnits($tag?->id);
|
|
$units && $this->Units->loadInto($units, ['Documents']);
|
|
$units = $this->sortUnits($units);
|
|
$full = false;
|
|
$this->set(compact('units', 'full'));
|
Toggle Arguments
-
|
* @return void
|
|
*/
|
|
public function invokeAction(Closure $action, array $args): void
|
|
{
|
|
$result = $action(...$args);
|
|
if ($result !== null) {
|
|
assert(
|
|
$result instanceof Response,
|
|
sprintf(
|
Toggle Arguments
-
|
$args = $this->getActionArgs(
|
|
$action,
|
|
array_values((array)$controller->getRequest()->getParam('pass')),
|
|
);
|
|
$controller->invokeAction($action, $args);
|
|
|
|
$result = $controller->shutdownProcess();
|
|
if ($result !== null) {
|
|
return $result;
|
Toggle Arguments
[
(int) 0 => 'gr2187710117',
(int) 1 => null,
]
-
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this);
|
|
}
|
|
|
|
return $this->handle($controller->getRequest());
|
|
}
|
|
|
|
/**
|
|
* Invoke the action.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
}
|
|
|
|
$controller = $this->controllerFactory->create($request);
|
|
|
|
return $this->controllerFactory->invoke($controller);
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(App\Controller\DocumentsController) id:0 {
Units => object(App\Model\Table\UnitsTable) id:1 {
'registryAlias' => 'Units'
'table' => 'units'
'alias' => 'Units'
'entityClass' => 'App\Model\Entity\Unit'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'Documents',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Users => object(App\Model\Table\UsersTable) id:2 {
'registryAlias' => 'Users'
'table' => 'users'
'alias' => 'Users'
'entityClass' => 'App\Model\Entity\User'
'associations' => [
(int) 0 => 'Tags',
(int) 1 => 'PushTokens',
(int) 2 => 'Visits',
(int) 3 => 'Lecturers',
(int) 4 => 'Students',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Tags => object(App\Model\Table\TagsTable) id:3 {
'registryAlias' => 'Tags'
'table' => 'tags'
'alias' => 'Tags'
'entityClass' => 'App\Model\Entity\Tag'
'associations' => [
(int) 0 => 'Appointments',
(int) 1 => 'Users',
(int) 2 => 'AcademicEnrollments',
(int) 3 => 'ChildTags',
(int) 4 => 'ParentTagsTags',
(int) 5 => 'ChildTagsTags',
(int) 6 => 'ParentTags',
(int) 7 => 'Units',
(int) 8 => 'AttendanceLists',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Documents => object(App\Model\Table\DocumentsTable) id:4 {
'registryAlias' => 'Documents'
'table' => 'documents'
'alias' => 'Documents'
'entityClass' => 'App\Model\Entity\Document'
'associations' => [
(int) 0 => 'Units',
(int) 1 => 'Users',
]
'behaviors' => [
(int) 0 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected name => 'Documents'
protected request => object(Cake\Http\ServerRequest) id:5 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
}
protected session => object(Cake\Http\Session) id:8 {
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:10 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:11 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected paginate => [
]
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:12 {
'_loaded' => [
(int) 0 => 'Flash',
(int) 1 => 'Authentication',
]
'_Controller' => object(App\Controller\DocumentsController) id: 0 {}
'container' => object(Cake\Core\Container) id:13 {
}
'_eventManager' => object(Cake\Event\EventManager) id:14 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected viewClasses => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 14 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Documents'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:15 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected queryFactory => object(Cake\ORM\Query\QueryFactory) id:16 {
}
protected instances => [
'' => [maximum depth reached],
]
protected options => [
'' => [maximum depth reached],
]
}
protected _viewBuilder => null
}
-
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
|
}
|
|
|
|
return new Response([
|
|
'body' => 'Middleware queue was exhausted without returning a response '
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if(!str_starts_with($request->getUri()->getPath(), '/users/cgu'))
|
|
return new RedirectResponse('/users/cgu?redirect='.$redirect);
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
/**
|
|
* @param AuthenticationService $authService
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$device = $request->getCookieParams()['media']??'web';
|
|
Device::$type = $device;
|
|
return $handler->handle($request->withAttribute('device', $device) );
|
|
}
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
'device' => 'web',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
class RealTimeTokenMiddleware implements MiddlewareInterface
|
|
{
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$response = $handler->handle($request);
|
|
|
|
$identity = $request->getAttribute('identity');
|
|
$hasCookie = (bool)($request->getCookieParams()['rt_token'] ?? null);
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$request = $request->withAttribute('authentication', $service);
|
|
$request = $request->withAttribute('authenticationResult', $result);
|
|
|
|
try {
|
|
$response = $handler->handle($request);
|
|
$authenticator = $service->getAuthenticationProvider();
|
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface && $result->getData()) {
|
|
$return = $service->persistIdentity($request, $response, $result->getData());
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:8 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:9 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
|
|
if ($method === 'GET' && $cookieData === null) {
|
|
$token = $this->createToken();
|
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token));
|
|
$response = $handler->handle($request);
|
|
|
|
return $this->_addTokenCookie($token, $request, $response);
|
|
}
|
|
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
'csrfToken' => '7T9MxJfOmPo0kp/m0tfOiI28XqQGli0Y2rOsw4mWAwnOxCNdYGA6PtHXL6rmefsJ4wrgwpeqcYwY6WuUuAw/IwdZP9SCtPx26YpvlTCvHyrr0s/1uvJlbajxEmtQAwwP5OEam9IfymvSM9Ck9MkQtQ==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
if (!in_array($request->getMethod(), $this->methods, true)) {
|
|
return $handler->handle($request);
|
|
}
|
|
[$type] = explode(';', $request->getHeaderLine('Content-Type'));
|
|
$type = strtolower($type);
|
|
if (!isset($this->parsers[$type])) {
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
);
|
|
}
|
|
$matching = Router::getRouteCollection()->getMiddleware($middleware);
|
|
if (!$matching) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
$container = $this->app instanceof ContainerApplicationInterface
|
|
? $this->app->getContainer()
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'pass' => [
(int) 0 => 'gr2187710117',
],
'controller' => 'Documents',
'action' => 'view',
'plugin' => null,
'_name' => 'app_docs_view',
'_matchedRoute' => '/docs/*',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:7 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$url = $request->getUri()->getPath();
|
|
if (str_contains($url, '..') || !str_contains($url, '.')) {
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
if (str_contains($url, '/.')) {
|
|
return $handler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
try {
|
|
return $handler->handle($request);
|
|
} catch (RedirectException $exception) {
|
|
return $this->handleRedirect($exception);
|
|
} catch (Throwable $exception) {
|
|
return $this->handleException($exception, Router::getRequest() ?? $request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
if ($this->service->isEnabled()) {
|
|
$this->service->loadPanels();
|
|
$this->service->initializePanels();
|
|
}
|
|
$response = $handler->handle($request);
|
|
|
|
if (!$this->service->isEnabled()) {
|
|
return $response;
|
|
}
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) {
|
|
$middleware = $this->queue->current();
|
|
$this->queue->next();
|
|
|
|
return $middleware->process($request, $this);
|
|
}
|
|
|
|
if ($this->fallbackHandler) {
|
|
return $this->fallbackHandler->handle($request);
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 10
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$this->queue = $queue;
|
|
$this->queue->rewind();
|
|
$this->fallbackHandler = $fallbackHandler;
|
|
|
|
return $this->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Handle incoming server request and return a response.
|
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
{
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $this->middleware]);
|
|
$request = ServerRequestFactory::fromGlobals();
|
|
$runner = $this->runner;
|
|
$response = $runner->run($this->middleware, $request, $this->app);
|
|
|
|
if ($request instanceof ServerRequest) {
|
|
$request->getSession()->close();
|
|
}
|
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 10
protected queue => [
(int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) id:1 {
},
(int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) id:3 {
},
(int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\BodyParserMiddleware) id:5 {
},
(int) 5 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:6 {
},
(int) 6 => object(Authentication\Middleware\AuthenticationMiddleware) id:7 {
},
(int) 7 => object(App\Middleware\RealTimeTokenMiddleware) id:8 {
},
(int) 8 => object(App\Middleware\DeviceDetectorMiddleware) id:9 {
},
(int) 9 => object(App\Middleware\AnalyticsMiddleware) id:10 {
},
]
protected container => object(Cake\Core\Container) id:11 {
protected delegates => [
'' => [maximum depth reached],
]
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:12 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:13 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:14 {
}
protected defaultToShared => false
protected defaultToOverwrite => false
protected eventDispatcher => object(League\Container\Event\EventDispatcher) id:15 {
}
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'ADE_PROJECT' => '2',
'SMTP_TLS' => 'true',
'REDIS_PORT' => '6379',
'AI_MODELS_CHAT' => 'gpt-4.1-mini',
'HOSTNAME' => 'c77bf41e6b9e',
'DB_PORT' => '3306',
'DEBUG' => 'true',
'PHP_INI_DIR' => '/usr/local/etc/php',
'AI_OPENAI_API_SECRET' => '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',
'SMTP_PORT' => '587',
'SHLVL' => '1',
'AI_BACKEND' => 'OPENAI',
'CAS_PATH' => '',
'HOME' => '/home/polyflex',
'OLDPWD' => '/app',
'AI_MODELS_SCAN' => 'o4-mini',
'OAUTH_GOOGLE_ID' => '248583077592-06jo6b7ve9c2mvivro83lhpanrrs08hm.apps.googleusercontent.com',
'GODEBUG' => 'cgocheck=0',
'ADE_BASE_URL' => 'https://planning.polytech.universite-paris-saclay.fr',
'OAUTH_GOOGLE_SECRET' => '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',
'CAS_LOGIN_TARGET' => 'https://sso.universite-paris-saclay.fr/cas/login',
'WEBPUSH_PRIVATE_KEY' => 'l-HjVmXhMMJ1Oia7hghdy_lsrRwPPRUYSieHbpBGcRA',
'SMTP_CLIENT' => 'noreply@poly-flex.fr',
'PHP_LDFLAGS' => '-Wl,-O1 -pie',
'PHP_CFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_VERSION' => '8.3.7',
'ADE_PASSWORD' => 'Polyflex!synchro',
'AI_MODELS_ANALYSIS' => 'o4-mini',
'GPG_KEYS' => '1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA',
'PHP_CPPFLAGS' => '-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
'PHP_ASC_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz.asc',
'OAUTH_GOOGLE_ENABLE' => 'false',
'PHP_URL' => 'https://www.php.net/distributions/php-8.3.7.tar.xz',
'AI_ENABLE' => 'false',
'MYSQL_PASSWORD' => 'nRhOxRFvhV2WzaPW5j6Qk4PYRqkqhHFRObeFFMdbT2NY',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'WEBPUSH_SUBJECT' => 'mailto: <saturninwanonkou17@gmail.com>',
'REALTIME_URL' => 'https://dev.poly-flex.fr',
'CAS_HOST' => 'sso.universite-paris-saclay.fr',
'SECURITY_SALT' => 'c90b4eb147f73c44e9441e3943659857dd13d23cc4a57455e1dcdaf88800e317',
'CAPTCHA_ENABLE' => 'false',
'REALTIME_DOMAIN' => 'dev.poly-flex.fr',
'MYSQL_USER' => 'polyflex_user',
'REDIS_RPC_SECRET' => 'changemewedcddx',
'EXTERNAL_URL' => 'https://dev.poly-flex.fr',
'XDG_CONFIG_HOME' => '/config',
'XDG_DATA_HOME' => '/data',
'AI_DEEPSEEK_API_SECRET' => 'sk-858d3d0e14474595bd3e214127e0171b',
'REDIS_RT_JWT_SECRET' => 'hP6LOysGIETQ37dpMbl7XJVd6cGfKtCvE95yhpTRcO0Dz7SeXN98bBo4TimDo7MImOzBR8hlKQUdxJl4BwCA4XgsiZtspB8Pm8Ae4mcz0hLl4RTkK50bMO95tIFa4WyY6WaIxizogV9y7imPZL9Z27hbbmzVtMY10Bhc00PuS3cj5t6BLiRyhUXmXKP1Ie3Cdy4THaDbbPhheMijm23skowlyud4OcTbXqvywNHHe9MrwNHWJyag6fdSfTuXlX',
'REDIS_PASSWORD' => 'QyPHvNFUkTlUXajNf39dRlhHGaBW9zrFrIE1rq96wCCM',
'REDIS_HOST' => 'redis',
'PHPIZE_DEPS' => 'autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c',
'PWD' => '/app/webroot',
'SMTP_PASSWORD' => 's5|OPjm>7c',
'WEBPUSH_ENABLE' => 'false',
'WEBAPP_DOMAIN' => 'dev.poly-flex.fr',
'PHP_SHA256' => 'd53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a',
'WEBPUSH_PUBLIC_KEY' => 'BB7It4d_bqKbhkKloVIoKFAIeLO4nhk3UDFTTU9I3QHV7SJcnx1YdrrHHIdSlUG_5MYOgsNoaqCtBvvKQLWAbUM',
'DB_HOST' => 'mysql',
'MYSQL_DATABASE' => 'polyflex',
'ADE_LOGIN' => 'Polyflex',
'SMTP_HOST' => 'smtp.hostinger.com',
'REDIS_RPC_CHANNEL' => 'rpc:commands',
'SMTP_USER' => 'noreply@poly-flex.fr',
'APP_VERSION' => '1.0.0-develop',
'AUTH_TYPE' => '',
'REMOTE_IDENT' => '',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/docs/gr2187710117',
'CONTENT_LENGTH' => '',
'DOCUMENT_ROOT' => '/app/webroot',
'DOCUMENT_URI' => 'index.php',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_HOST' => 'dev.poly-flex.fr',
'HTTPS' => '',
'PATH_INFO' => '',
'PHP_SELF' => 'index.php',
'REMOTE_ADDR' => '172.19.0.9',
'REMOTE_HOST' => '172.19.0.9',
'REMOTE_PORT' => '56088',
'REQUEST_SCHEME' => 'http',
'SCRIPT_FILENAME' => '/app/webroot/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_NAME' => 'dev.poly-flex.fr',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'FrankenPHP',
'SSL_PROTOCOL' => '',
'HTTP_X_REAL_IP' => '172.19.0.1',
'HTTP_X_FORWARDED_HOST' => 'dev.poly-flex.fr',
'HTTP_X_FORWARDED_SERVER' => 'dev.poly-flex.fr',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_X_FORWARDED_FOR' => '216.73.216.45, 172.19.0.1',
'HTTP_X_FORWARDED_PROTO' => 'http',
'REQUEST_TIME_FLOAT' => (float) 1783059347.9857,
'REQUEST_TIME' => (int) 1783059347,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:3 {
protected resource => (resource (stream)) Resource id #1435
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'http'
private userInfo => ''
private host => 'dev.poly-flex.fr'
private port => null
private path => '/docs/gr2187710117'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => false
protected _lifetime => (int) 86400
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/app/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\DocumentsController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
'Error.beforeRender' => '21 listener(s)',
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
|
|
$initialServer = $_SERVER;
|
|
|
|
$handler = static function () use (&$server): void {
|
|
$server->emit($server->handle());
|
|
};
|
|
|
|
$maxRequests = (int)(200);
|
|
for ($nbRequests = 0; !$maxRequests || $nbRequests < $maxRequests; ++$nbRequests) {
|
Toggle Arguments
-
-
If you want to customize this error message, create
templates/Error/error500.php