|
3 | 3 | namespace Config; |
4 | 4 |
|
5 | 5 | use CodeIgniter\Config\BaseConfig; |
6 | | -use CodeIgniter\Session\Handlers\FileHandler; |
7 | 6 |
|
8 | 7 | class App extends BaseConfig |
9 | 8 | { |
@@ -136,112 +135,6 @@ class App extends BaseConfig |
136 | 135 | */ |
137 | 136 | public bool $forceGlobalSecureRequests = false; |
138 | 137 |
|
139 | | - /** |
140 | | - * -------------------------------------------------------------------------- |
141 | | - * Session Driver |
142 | | - * -------------------------------------------------------------------------- |
143 | | - * |
144 | | - * The session storage driver to use: |
145 | | - * - `CodeIgniter\Session\Handlers\FileHandler` |
146 | | - * - `CodeIgniter\Session\Handlers\DatabaseHandler` |
147 | | - * - `CodeIgniter\Session\Handlers\MemcachedHandler` |
148 | | - * - `CodeIgniter\Session\Handlers\RedisHandler` |
149 | | - * |
150 | | - * @deprecated use Config\Session::$driver instead. |
151 | | - */ |
152 | | - public string $sessionDriver = FileHandler::class; |
153 | | - |
154 | | - /** |
155 | | - * -------------------------------------------------------------------------- |
156 | | - * Session Cookie Name |
157 | | - * -------------------------------------------------------------------------- |
158 | | - * |
159 | | - * The session cookie name, must contain only [0-9a-z_-] characters |
160 | | - * |
161 | | - * @deprecated use Config\Session::$cookieName instead. |
162 | | - */ |
163 | | - public string $sessionCookieName = 'ci_session'; |
164 | | - |
165 | | - /** |
166 | | - * -------------------------------------------------------------------------- |
167 | | - * Session Expiration |
168 | | - * -------------------------------------------------------------------------- |
169 | | - * |
170 | | - * The number of SECONDS you want the session to last. |
171 | | - * Setting to 0 (zero) means expire when the browser is closed. |
172 | | - * |
173 | | - * @deprecated use Config\Session::$expiration instead. |
174 | | - */ |
175 | | - public int $sessionExpiration = 7200; |
176 | | - |
177 | | - /** |
178 | | - * -------------------------------------------------------------------------- |
179 | | - * Session Save Path |
180 | | - * -------------------------------------------------------------------------- |
181 | | - * |
182 | | - * The location to save sessions to and is driver dependent. |
183 | | - * |
184 | | - * For the 'files' driver, it's a path to a writable directory. |
185 | | - * WARNING: Only absolute paths are supported! |
186 | | - * |
187 | | - * For the 'database' driver, it's a table name. |
188 | | - * Please read up the manual for the format with other session drivers. |
189 | | - * |
190 | | - * IMPORTANT: You are REQUIRED to set a valid save path! |
191 | | - * |
192 | | - * @deprecated use Config\Session::$savePath instead. |
193 | | - */ |
194 | | - public string $sessionSavePath = WRITEPATH . 'session'; |
195 | | - |
196 | | - /** |
197 | | - * -------------------------------------------------------------------------- |
198 | | - * Session Match IP |
199 | | - * -------------------------------------------------------------------------- |
200 | | - * |
201 | | - * Whether to match the user's IP address when reading the session data. |
202 | | - * |
203 | | - * WARNING: If you're using the database driver, don't forget to update |
204 | | - * your session table's PRIMARY KEY when changing this setting. |
205 | | - * |
206 | | - * @deprecated use Config\Session::$matchIP instead. |
207 | | - */ |
208 | | - public bool $sessionMatchIP = false; |
209 | | - |
210 | | - /** |
211 | | - * -------------------------------------------------------------------------- |
212 | | - * Session Time to Update |
213 | | - * -------------------------------------------------------------------------- |
214 | | - * |
215 | | - * How many seconds between CI regenerating the session ID. |
216 | | - * |
217 | | - * @deprecated use Config\Session::$timeToUpdate instead. |
218 | | - */ |
219 | | - public int $sessionTimeToUpdate = 300; |
220 | | - |
221 | | - /** |
222 | | - * -------------------------------------------------------------------------- |
223 | | - * Session Regenerate Destroy |
224 | | - * -------------------------------------------------------------------------- |
225 | | - * |
226 | | - * Whether to destroy session data associated with the old session ID |
227 | | - * when auto-regenerating the session ID. When set to FALSE, the data |
228 | | - * will be later deleted by the garbage collector. |
229 | | - * |
230 | | - * @deprecated use Config\Session::$regenerateDestroy instead. |
231 | | - */ |
232 | | - public bool $sessionRegenerateDestroy = false; |
233 | | - |
234 | | - /** |
235 | | - * -------------------------------------------------------------------------- |
236 | | - * Session Database Group |
237 | | - * -------------------------------------------------------------------------- |
238 | | - * |
239 | | - * DB Group for the database session. |
240 | | - * |
241 | | - * @deprecated use Config\Session::$DBGroup instead. |
242 | | - */ |
243 | | - public ?string $sessionDBGroup = null; |
244 | | - |
245 | 138 | /** |
246 | 139 | * -------------------------------------------------------------------------- |
247 | 140 | * Reverse Proxy IPs |
|
0 commit comments