@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The Installer class installs phpMyFAQ. Classy. |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package Installer |
|
13 | - * @author Florian Anderiasch <[email protected]> |
|
14 | - * @copyright 2002-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2012-08-27 |
|
18 | - */ |
|
3 | + * The Installer class installs phpMyFAQ. Classy. |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package Installer |
|
13 | + * @author Florian Anderiasch <[email protected]> |
|
14 | + * @copyright 2002-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2012-08-27 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | exit(); |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Attachment handler class |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package Attachment |
|
13 | - * @author Anatoliy Belsky <[email protected]> |
|
14 | - * @copyright 2009-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2009-08-21 |
|
18 | - */ |
|
3 | + * Attachment handler class |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package Attachment |
|
13 | + * @author Anatoliy Belsky <[email protected]> |
|
14 | + * @copyright 2009-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2009-08-21 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | exit(); |
@@ -1,22 +1,22 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The Relation class for dynamic related record linking |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package PMF_Relation |
|
13 | - * @author Marco Enders <[email protected]> |
|
14 | - * @author Thorsten Rinne <[email protected]> |
|
15 | - * @copyright 2006-2016 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2006-06-18 |
|
19 | - */ |
|
3 | + * The Relation class for dynamic related record linking |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package PMF_Relation |
|
13 | + * @author Marco Enders <[email protected]> |
|
14 | + * @author Thorsten Rinne <[email protected]> |
|
15 | + * @copyright 2006-2016 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2006-06-18 |
|
19 | + */ |
|
20 | 20 | |
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | exit(); |
@@ -73,23 +73,23 @@ discard block |
||
73 | 73 | ); |
74 | 74 | |
75 | 75 | $search->setTable(PMF_Db::getTablePrefix() . 'faqdata AS fd') |
76 | - ->setResultColumns(array( |
|
76 | + ->setResultColumns(array( |
|
77 | 77 | 'fd.id AS id', |
78 | 78 | 'fd.lang AS lang', |
79 | 79 | 'fcr.category_id AS category_id', |
80 | 80 | 'fd.thema AS question', |
81 | 81 | 'fd.content AS answer')) |
82 | - ->setJoinedTable(PMF_Db::getTablePrefix() . 'faqcategoryrelations AS fcr') |
|
83 | - ->setJoinedColumns(array( |
|
82 | + ->setJoinedTable(PMF_Db::getTablePrefix() . 'faqcategoryrelations AS fcr') |
|
83 | + ->setJoinedColumns(array( |
|
84 | 84 | 'fd.id = fcr.record_id', |
85 | 85 | 'fd.lang = fcr.record_lang')) |
86 | - ->setConditions( |
|
86 | + ->setConditions( |
|
87 | 87 | array( |
88 | 88 | 'fd.active' => "'yes'", |
89 | 89 | 'fd.lang' => "'" . $this->_config->getLanguage()->getLanguage() . "'" |
90 | 90 | ) |
91 | - ) |
|
92 | - ->setMatchingColumns(array('fd.thema', 'fd.content', 'fd.keywords') |
|
91 | + ) |
|
92 | + ->setMatchingColumns(array('fd.thema', 'fd.content', 'fd.keywords') |
|
93 | 93 | ); |
94 | 94 | |
95 | 95 | $result = $search->search($terms); |
@@ -1,21 +1,21 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The PMF_Cache_Service class provides abstract cache functionality |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package PMF_Cache_Service |
|
13 | - * @author Anatoliy Belsky <[email protected]> |
|
14 | - * @copyright 2002-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2011-09-23 |
|
18 | - */ |
|
3 | + * The PMF_Cache_Service class provides abstract cache functionality |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package PMF_Cache_Service |
|
13 | + * @author Anatoliy Belsky <[email protected]> |
|
14 | + * @copyright 2002-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2011-09-23 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | exit(); |
@@ -34,28 +34,28 @@ discard block |
||
34 | 34 | */ |
35 | 35 | abstract class PMF_Cache_Service |
36 | 36 | { |
37 | - /** |
|
38 | - * Children must implement the constructor with the appropriate config. |
|
39 | - * |
|
40 | - * @param array $config Cache configuration |
|
41 | - * |
|
42 | - * @return void |
|
43 | - */ |
|
44 | - abstract function __construct(array $config); |
|
37 | + /** |
|
38 | + * Children must implement the constructor with the appropriate config. |
|
39 | + * |
|
40 | + * @param array $config Cache configuration |
|
41 | + * |
|
42 | + * @return void |
|
43 | + */ |
|
44 | + abstract function __construct(array $config); |
|
45 | 45 | |
46 | - /** |
|
47 | - * Children must implement this to be able to clear the single article cache as well as all the related items. |
|
48 | - * |
|
49 | - * @param intereg $id Article id |
|
50 | - * |
|
51 | - * @return void |
|
52 | - */ |
|
53 | - abstract function clearArticle($id); |
|
46 | + /** |
|
47 | + * Children must implement this to be able to clear the single article cache as well as all the related items. |
|
48 | + * |
|
49 | + * @param intereg $id Article id |
|
50 | + * |
|
51 | + * @return void |
|
52 | + */ |
|
53 | + abstract function clearArticle($id); |
|
54 | 54 | |
55 | - /** |
|
56 | - * Children must implement this to be able to clear all the cache contents at once. |
|
57 | - * |
|
58 | - * @return void |
|
59 | - */ |
|
60 | - abstract function clearAll(); |
|
55 | + /** |
|
56 | + * Children must implement this to be able to clear all the cache contents at once. |
|
57 | + * |
|
58 | + * @return void |
|
59 | + */ |
|
60 | + abstract function clearAll(); |
|
61 | 61 | } |
@@ -1,21 +1,21 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The PMF_Cache_Varnish class implements the varnish cache service functionality |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package PMF_Cache_Varnish |
|
13 | - * @author Anatoliy Belsky <[email protected]> |
|
14 | - * @copyright 2002-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2011-09-23 |
|
18 | - */ |
|
3 | + * The PMF_Cache_Varnish class implements the varnish cache service functionality |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package PMF_Cache_Varnish |
|
13 | + * @author Anatoliy Belsky <[email protected]> |
|
14 | + * @copyright 2002-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2011-09-23 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | exit(); |
@@ -34,51 +34,51 @@ discard block |
||
34 | 34 | */ |
35 | 35 | class PMF_Cache_Varnish extends PMF_Cache_Service |
36 | 36 | { |
37 | - protected $instance = NULL; |
|
37 | + protected $instance = NULL; |
|
38 | 38 | |
39 | - /** |
|
40 | - * Constructor. |
|
41 | - * |
|
42 | - * @param array $config Cache configuration |
|
43 | - * |
|
44 | - * @return void |
|
45 | - */ |
|
46 | - public function __construct(array $config) |
|
47 | - { |
|
48 | - $this->instance = new VarnishAdmin($config); |
|
39 | + /** |
|
40 | + * Constructor. |
|
41 | + * |
|
42 | + * @param array $config Cache configuration |
|
43 | + * |
|
44 | + * @return void |
|
45 | + */ |
|
46 | + public function __construct(array $config) |
|
47 | + { |
|
48 | + $this->instance = new VarnishAdmin($config); |
|
49 | 49 | |
50 | - try { |
|
51 | - if(!$this->instance->connect()) { |
|
52 | - throw new VarnishException("Connection failed\n"); |
|
53 | - } |
|
54 | - } catch (VarnishException $e) { |
|
55 | - echo $e->getMessage(); |
|
56 | - } |
|
50 | + try { |
|
51 | + if(!$this->instance->connect()) { |
|
52 | + throw new VarnishException("Connection failed\n"); |
|
53 | + } |
|
54 | + } catch (VarnishException $e) { |
|
55 | + echo $e->getMessage(); |
|
56 | + } |
|
57 | 57 | |
58 | - try { |
|
59 | - if(!$this->instance->auth()) { |
|
60 | - throw new VarnishException("Auth failed\n"); |
|
61 | - } |
|
62 | - } catch (VarnishException $e) { |
|
63 | - echo $e->getMessage(); |
|
64 | - } |
|
65 | - } |
|
58 | + try { |
|
59 | + if(!$this->instance->auth()) { |
|
60 | + throw new VarnishException("Auth failed\n"); |
|
61 | + } |
|
62 | + } catch (VarnishException $e) { |
|
63 | + echo $e->getMessage(); |
|
64 | + } |
|
65 | + } |
|
66 | 66 | |
67 | - /** |
|
68 | - * Clear all cached article related items. |
|
69 | - * |
|
70 | - * @param intereg $id Article id |
|
71 | - * |
|
72 | - * @return void |
|
73 | - */ |
|
74 | - public function clearArticle($id) |
|
75 | - { |
|
76 | - $this->clearAll(); |
|
77 | - } |
|
67 | + /** |
|
68 | + * Clear all cached article related items. |
|
69 | + * |
|
70 | + * @param intereg $id Article id |
|
71 | + * |
|
72 | + * @return void |
|
73 | + */ |
|
74 | + public function clearArticle($id) |
|
75 | + { |
|
76 | + $this->clearAll(); |
|
77 | + } |
|
78 | 78 | |
79 | - public function clearAll() |
|
80 | - { |
|
81 | - $this->instance->banUrl(".*"); |
|
82 | - } |
|
79 | + public function clearAll() |
|
80 | + { |
|
81 | + $this->instance->banUrl(".*"); |
|
82 | + } |
|
83 | 83 | |
84 | 84 | } |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The PMF_Cache_Apc class implements the APC cache service functionality |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package PMF_Cache_Apc |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2011-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2011-10-01 |
|
18 | - */ |
|
3 | + * The PMF_Cache_Apc class implements the APC cache service functionality |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package PMF_Cache_Apc |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2011-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2011-10-01 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | exit(); |
@@ -1,23 +1,23 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The phpMyFAQ Search class |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package Search |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @author Matteo Scaramuccia <[email protected]> |
|
15 | - * @author Adrianna Musiol <[email protected]> |
|
16 | - * @copyright 2008-2016 phpMyFAQ Team |
|
17 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
18 | - * @link http://www.phpmyfaq.de |
|
19 | - * @since 2008-01-26 |
|
20 | - */ |
|
3 | + * The phpMyFAQ Search class |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package Search |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @author Matteo Scaramuccia <[email protected]> |
|
15 | + * @author Adrianna Musiol <[email protected]> |
|
16 | + * @copyright 2008-2016 phpMyFAQ Team |
|
17 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
18 | + * @link http://www.phpmyfaq.de |
|
19 | + * @since 2008-01-26 |
|
20 | + */ |
|
21 | 21 | |
22 | 22 | if (!defined('IS_VALID_PHPMYFAQ')) { |
23 | 23 | exit(); |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Handles all the stuff for visits |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package PMF_Visits |
|
13 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2009-2016 phpMyFAQ Team |
|
15 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | - * @link http://www.phpmyfaq.de |
|
17 | - * @since 2009-03-08 |
|
18 | - */ |
|
3 | + * Handles all the stuff for visits |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package PMF_Visits |
|
13 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2009-2016 phpMyFAQ Team |
|
15 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
16 | + * @link http://www.phpmyfaq.de |
|
17 | + * @since 2009-03-08 |
|
18 | + */ |
|
19 | 19 | |
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | exit(); |
@@ -1,22 +1,22 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * MUA (Mail User Agent) implementation. |
|
4 | - * |
|
5 | - * PHP Version 5.3 |
|
6 | - * |
|
7 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | - * |
|
11 | - * @category phpMyFAQ |
|
12 | - * @package Mail |
|
13 | - * @author Matteo Scaramuccia <[email protected]> |
|
14 | - * @author Thorsten Rinne <[email protected]> |
|
15 | - * @copyright 2009-2016 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2009-09-11 |
|
19 | - */ |
|
3 | + * MUA (Mail User Agent) implementation. |
|
4 | + * |
|
5 | + * PHP Version 5.3 |
|
6 | + * |
|
7 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
8 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
9 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
10 | + * |
|
11 | + * @category phpMyFAQ |
|
12 | + * @package Mail |
|
13 | + * @author Matteo Scaramuccia <[email protected]> |
|
14 | + * @author Thorsten Rinne <[email protected]> |
|
15 | + * @copyright 2009-2016 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2009-09-11 |
|
19 | + */ |
|
20 | 20 | |
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | exit(); |
@@ -932,7 +932,7 @@ discard block |
||
932 | 932 | } |
933 | 933 | |
934 | 934 | if (false === filter_var($address, FILTER_VALIDATE_EMAIL)) { |
935 | - return false; |
|
935 | + return false; |
|
936 | 936 | } |
937 | 937 | |
938 | 938 | return true; |