File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 13
13
* phpSec core functionality.
14
14
*/
15
15
class phpsec {
16
- public static $ _charset = 'utf-8 ' ;
17
- public static $ _storeName = null ;
18
- public static $ _sessenable = true ;
19
- public static $ uid = null ; // User identifier.
20
- public static $ store = null ;
16
+ public static $ _charset = 'utf-8 ' ; // Config: Charset used for filter methods.
17
+ public static $ _storeName = null ; // Config: Store destination.
18
+ public static $ _sessenable = true ; // Config: Enable phpSec session handler.
19
+ public static $ uid = null ; // User identifier.
20
+ public static $ store = null ; // Storage object.
21
21
22
22
/* Constants. */
23
23
const HASH_TYPE = 'sha256 ' ;
24
24
const VERSION = '0.1-dev ' ;
25
+
25
26
/**
26
27
* Autoload function to load required files when needed.
27
28
*/
@@ -126,7 +127,6 @@ public static function error($msg, $level = E_USER_WARNING) {
126
127
trigger_error ($ msg .'. (Called from <strong> ' .$ callee ['file ' ].' line ' .$ callee ['line ' ].'</strong>) ' , $ level );
127
128
}
128
129
129
-
130
130
/**
131
131
* Returns a unique identifier in the format spsecified in
132
132
* OpenID Authentication 2.0 protocol.
@@ -148,3 +148,4 @@ public static function genUid($length = 50) {
148
148
return $ timeStamp .phpsecRand::str ($ randLength );
149
149
}
150
150
}
151
+
You can’t perform that action at this time.
0 commit comments