diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-05-01 12:10:47 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-05-01 12:13:26 +0100 |
| commit | 0c252e23242bf218f4899b71b965b6a2f9b63d91 (patch) | |
| tree | 20a861ff1890b739fa8a159865bd51fcc415a169 /library | |
| parent | 23d12619cce7144016c79b4da61cc29ce6a2eca2 (diff) | |
| download | webtrees-0c252e23242bf218f4899b71b965b6a2f9b63d91.tar.gz webtrees-0c252e23242bf218f4899b71b965b6a2f9b63d91.tar.bz2 webtrees-0c252e23242bf218f4899b71b965b6a2f9b63d91.zip | |
Interactive tree/allpartners button only works in full-screen mode
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/Filter.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/library/WT/Filter.php b/library/WT/Filter.php index 2eacb87b23..fa523b0d34 100644 --- a/library/WT/Filter.php +++ b/library/WT/Filter.php @@ -259,6 +259,13 @@ class WT_Filter { } ////////////////////////////////////////////////////////////////////////////// + // Validate COOKIE requests + ////////////////////////////////////////////////////////////////////////////// + public static function cookie($variable, $regexp=null, $default=null) { + return self::_input(INPUT_COOKIE, $variable, $regexp, $default); + } + + ////////////////////////////////////////////////////////////////////////////// // Cross-Site Request Forgery tokens - ensure that the user is submitting // a form that was generated by the current session. ////////////////////////////////////////////////////////////////////////////// |
