We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13447b6 commit fbda65bCopy full SHA for fbda65b
user_guide_src/source/testing/session_testing/001.php
@@ -2,10 +2,10 @@
2
3
use CodeIgniter\Session\Handlers\ArrayHandler;
4
use CodeIgniter\Session\Session;
5
-use Config\Session;
+use Config\Session as SessionConfig;
6
7
// Load session config
8
-$config = new \config(Session::class);
+$config = config(SessionConfig::class);
9
10
// Initialize ArrayHandler with config and optional IP
11
$arrayHandler = new ArrayHandler($config, '127.0.0.1');
0 commit comments