Skip to content

Commit 375f6f6

Browse files
committed
docs: no use config()
1 parent 0072e11 commit 375f6f6

File tree

1 file changed

+1
-1
lines changed
  • user_guide_src/source/libraries/encryption

1 file changed

+1
-1
lines changed

user_guide_src/source/libraries/encryption/013.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Config\Encryption;
44

5-
$config = config(Encryption::class);
5+
$config = new Encryption();
66
$config->driver = 'OpenSSL';
77

88
// Your CI3's 'encryption_key'

0 commit comments

Comments
 (0)