commit | 52caf59f244e0c1363ac0ce6ba61a7f5001603df | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Fri Feb 27 15:09:34 2015 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Fri Feb 27 15:09:34 2015 +0200 |
tree | 3e5da9669a232579dd1637d567414206601ccf9e | |
parent | 7d365dcc8bdf69534b54401cc862be105e1a8a28 [diff] [blame] |
Make CI_Input:: read-only as well
diff --git a/tests/mocks/core/input.php b/tests/mocks/core/input.php index 0d18738..40e2744 100644 --- a/tests/mocks/core/input.php +++ b/tests/mocks/core/input.php
@@ -38,4 +38,12 @@ return FALSE; } + public function __set($name, $value) + { + if ($name === 'ip_address') + { + $this->ip_address = $value; + } + } + } \ No newline at end of file