@@ 7-11 (lines=5) @@ | ||
4 | { |
|
5 | public function __construct(array $params = array()) |
|
6 | { |
|
7 | if (is_cli() === true && ENVIRONMENT === 'testing') |
|
8 | { |
|
9 | log_message('debug', 'Session: Initialization under testing aborted.'); |
|
10 | return; |
|
11 | } |
|
12 | ||
13 | parent::__construct($params); |
|
14 | } |
|
@@ 18-22 (lines=5) @@ | ||
15 | ||
16 | public function sess_destroy() |
|
17 | { |
|
18 | if (is_cli() === true && ENVIRONMENT === 'testing') |
|
19 | { |
|
20 | log_message('debug', 'Session: calling session_destroy() skipped under testing.'); |
|
21 | return; |
|
22 | } |
|
23 | ||
24 | parent::sess_destroy(); |
|
25 | } |