|
|
@@ -181,7 +181,7 @@ class Session {
|
|
|
* ### Configuration:
|
|
|
*
|
|
|
* - timeout: The time in minutes the session should be valid for.
|
|
|
- * - cookie_path: The url path for which session cookie is set. Maps to the
|
|
|
+ * - cookiePath: The url path for which session cookie is set. Maps to the
|
|
|
* `session.cookie_path` php.ini config. Defaults to base path of app.
|
|
|
* - ini: A list of php.ini directives to change before the session start.
|
|
|
* - handler: An array containing at least the `class` key. To be used as the session
|
|
|
@@ -200,10 +200,10 @@ class Session {
|
|
|
$config['ini']['session.name'] = $config['cookie'];
|
|
|
}
|
|
|
|
|
|
- if (isset($config['cookie_path']) &&
|
|
|
+ if (isset($config['cookiePath']) &&
|
|
|
!isset($config['ini']['session.cookie_path'])
|
|
|
) {
|
|
|
- $config['ini']['session.cookie_path'] = $config['cookie_path'];
|
|
|
+ $config['ini']['session.cookie_path'] = $config['cookiePath'];
|
|
|
}
|
|
|
|
|
|
if (!empty($config['ini']) && is_array($config['ini'])) {
|