@@ -1,28 +1,28 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Some basic functions and PMF_Init 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 | - * Portions created by Christian Stocker are Copyright (c) 2001-2008 Liip AG. |
|
| 12 | - * All Rights Reserved. |
|
| 13 | - * |
|
| 14 | - * @category phpMyFAQ |
|
| 15 | - * @package PMF_Init |
|
| 16 | - * @author Johann-Peter Hartmann <[email protected]> |
|
| 17 | - * @author Thorsten Rinne <[email protected]> |
|
| 18 | - * @author Stefan Esser <[email protected]> |
|
| 19 | - * @author Matteo Scaramuccia <[email protected]> |
|
| 20 | - * @author Christian Stocker <[email protected]> |
|
| 21 | - * @copyright 2005-2016 phpMyFAQ Team |
|
| 22 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 23 | - * @link http://www.phpmyfaq.de |
|
| 24 | - * @since 2005-09-24 |
|
| 25 | - */ |
|
| 3 | + * Some basic functions and PMF_Init 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 | + * Portions created by Christian Stocker are Copyright (c) 2001-2008 Liip AG. |
|
| 12 | + * All Rights Reserved. |
|
| 13 | + * |
|
| 14 | + * @category phpMyFAQ |
|
| 15 | + * @package PMF_Init |
|
| 16 | + * @author Johann-Peter Hartmann <[email protected]> |
|
| 17 | + * @author Thorsten Rinne <[email protected]> |
|
| 18 | + * @author Stefan Esser <[email protected]> |
|
| 19 | + * @author Matteo Scaramuccia <[email protected]> |
|
| 20 | + * @author Christian Stocker <[email protected]> |
|
| 21 | + * @copyright 2005-2016 phpMyFAQ Team |
|
| 22 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 23 | + * @link http://www.phpmyfaq.de |
|
| 24 | + * @since 2005-09-24 |
|
| 25 | + */ |
|
| 26 | 26 | |
| 27 | 27 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 28 | 28 | exit(); |
@@ -138,14 +138,14 @@ discard block |
||
| 138 | 138 | return $filename; |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | - /** |
|
| 142 | - * Clean the filename of any uploaded file by the user and force an error |
|
| 143 | - * when calling is_uploaded_file($_FILES[key]['tmp_name']) if the cleanup goes wrong |
|
| 144 | - * |
|
| 145 | - * @return void |
|
| 146 | - */ |
|
| 147 | - private static function _cleanFilenames() |
|
| 148 | - { |
|
| 141 | + /** |
|
| 142 | + * Clean the filename of any uploaded file by the user and force an error |
|
| 143 | + * when calling is_uploaded_file($_FILES[key]['tmp_name']) if the cleanup goes wrong |
|
| 144 | + * |
|
| 145 | + * @return void |
|
| 146 | + */ |
|
| 147 | + private static function _cleanFilenames() |
|
| 148 | + { |
|
| 149 | 149 | reset($_FILES); |
| 150 | 150 | while (list($key, $value) = each($_FILES)) { |
| 151 | 151 | if (is_array($_FILES[$key]['name'])) { |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The notification class for phpMyFAQ |
|
| 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 Notification |
|
| 13 | - * @author Thorsten Rinne <[email protected]> |
|
| 14 | - * @copyright 2012-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-30 |
|
| 18 | - */ |
|
| 3 | + * The notification class for phpMyFAQ |
|
| 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 Notification |
|
| 13 | + * @author Thorsten Rinne <[email protected]> |
|
| 14 | + * @copyright 2012-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-30 |
|
| 18 | + */ |
|
| 19 | 19 | |
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | exit(); |
@@ -1,25 +1,25 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The main FAQ 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 Faq |
|
| 13 | - * @author Thorsten Rinne <[email protected]> |
|
| 14 | - * @author Matteo Scaramuccia <[email protected]> |
|
| 15 | - * @author Georgi Korchev <[email protected]> |
|
| 16 | - * @author Adrianna Musiol <[email protected]> |
|
| 17 | - * @author Peter Caesar <[email protected]> |
|
| 18 | - * @copyright 2005-2016 phpMyFAQ Team |
|
| 19 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 20 | - * @link http://www.phpmyfaq.de |
|
| 21 | - * @since 2005-12-20 |
|
| 22 | - */ |
|
| 3 | + * The main FAQ 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 Faq |
|
| 13 | + * @author Thorsten Rinne <[email protected]> |
|
| 14 | + * @author Matteo Scaramuccia <[email protected]> |
|
| 15 | + * @author Georgi Korchev <[email protected]> |
|
| 16 | + * @author Adrianna Musiol <[email protected]> |
|
| 17 | + * @author Peter Caesar <[email protected]> |
|
| 18 | + * @copyright 2005-2016 phpMyFAQ Team |
|
| 19 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 20 | + * @link http://www.phpmyfaq.de |
|
| 21 | + * @since 2005-12-20 |
|
| 22 | + */ |
|
| 23 | 23 | |
| 24 | 24 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 25 | 25 | exit(); |
@@ -75,31 +75,31 @@ discard block |
||
| 75 | 75 | private $_config; |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | - * Language strings |
|
| 79 | - * |
|
| 80 | - * @var string |
|
| 81 | - */ |
|
| 78 | + * Language strings |
|
| 79 | + * |
|
| 80 | + * @var string |
|
| 81 | + */ |
|
| 82 | 82 | private $pmf_lang; |
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | - * Plural form support |
|
| 86 | - * |
|
| 87 | - * @var PMF_Language_Plurals |
|
| 88 | - */ |
|
| 85 | + * Plural form support |
|
| 86 | + * |
|
| 87 | + * @var PMF_Language_Plurals |
|
| 88 | + */ |
|
| 89 | 89 | private $plr; |
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | - * The current FAQ record |
|
| 93 | - * |
|
| 94 | - * @var array |
|
| 95 | - */ |
|
| 92 | + * The current FAQ record |
|
| 93 | + * |
|
| 94 | + * @var array |
|
| 95 | + */ |
|
| 96 | 96 | public $faqRecord = array(); |
| 97 | 97 | |
| 98 | 98 | /** |
| 99 | - * All current FAQ records in an array |
|
| 100 | - * |
|
| 101 | - * @var array |
|
| 102 | - */ |
|
| 99 | + * All current FAQ records in an array |
|
| 100 | + * |
|
| 101 | + * @var array |
|
| 102 | + */ |
|
| 103 | 103 | public $faqRecords = array(); |
| 104 | 104 | |
| 105 | 105 | /** |
@@ -1184,8 +1184,8 @@ discard block |
||
| 1184 | 1184 | |
| 1185 | 1185 | if ($row = $this->_config->getDb()->fetchObject($result)) { |
| 1186 | 1186 | return array('id' => $row->id, |
| 1187 | - 'lang' => $row->lang, |
|
| 1188 | - 'content' => $row->content); |
|
| 1187 | + 'lang' => $row->lang, |
|
| 1188 | + 'content' => $row->content); |
|
| 1189 | 1189 | } |
| 1190 | 1190 | |
| 1191 | 1191 | return null; |
@@ -1512,7 +1512,7 @@ discard block |
||
| 1512 | 1512 | */ |
| 1513 | 1513 | public function getRecordPreview($recordId, $wordCount = 12) |
| 1514 | 1514 | { |
| 1515 | - $answerPreview = ''; |
|
| 1515 | + $answerPreview = ''; |
|
| 1516 | 1516 | |
| 1517 | 1517 | if (isset($this->faqRecord['id']) && ($this->faqRecord['id'] == $recordId)) { |
| 1518 | 1518 | $answerPreview = $this->faqRecord['content']; |
@@ -1677,8 +1677,8 @@ discard block |
||
| 1677 | 1677 | * @since 2006-11-04 |
| 1678 | 1678 | * @author Thorsten Rinne <[email protected]> |
| 1679 | 1679 | */ |
| 1680 | - function getVisibilityOfQuestion($question_id) |
|
| 1681 | - { |
|
| 1680 | + function getVisibilityOfQuestion($question_id) |
|
| 1681 | + { |
|
| 1682 | 1682 | $query = sprintf(' |
| 1683 | 1683 | SELECT |
| 1684 | 1684 | is_visible |
@@ -1695,7 +1695,7 @@ discard block |
||
| 1695 | 1695 | return $row->is_visible; |
| 1696 | 1696 | } |
| 1697 | 1697 | return null; |
| 1698 | - } |
|
| 1698 | + } |
|
| 1699 | 1699 | |
| 1700 | 1700 | /** |
| 1701 | 1701 | * Sets the visibilty of a question |
@@ -2210,8 +2210,8 @@ discard block |
||
| 2210 | 2210 | * @param $all boolean If true, then return visible and unvisble questions; otherwise only visible ones |
| 2211 | 2211 | * @return array |
| 2212 | 2212 | */ |
| 2213 | - public function getAllOpenQuestions($all = true) |
|
| 2214 | - { |
|
| 2213 | + public function getAllOpenQuestions($all = true) |
|
| 2214 | + { |
|
| 2215 | 2215 | $questions = array(); |
| 2216 | 2216 | |
| 2217 | 2217 | $query = sprintf(" |
@@ -2240,7 +2240,7 @@ discard block |
||
| 2240 | 2240 | } |
| 2241 | 2241 | } |
| 2242 | 2242 | return $questions; |
| 2243 | - } |
|
| 2243 | + } |
|
| 2244 | 2244 | |
| 2245 | 2245 | /** |
| 2246 | 2246 | * Updates an existing voting record |
@@ -2347,7 +2347,7 @@ discard block |
||
| 2347 | 2347 | $record_id |
| 2348 | 2348 | ); |
| 2349 | 2349 | |
| 2350 | - if ($result = $this->_config->getDb()->query($query)) { |
|
| 2350 | + if ($result = $this->_config->getDb()->query($query)) { |
|
| 2351 | 2351 | while ($row = $this->_config->getDb()->fetchObject($result)) { |
| 2352 | 2352 | $entries[] = array( |
| 2353 | 2353 | 'revision_id' => $row->revision_id, |
@@ -2435,19 +2435,19 @@ discard block |
||
| 2435 | 2435 | } |
| 2436 | 2436 | |
| 2437 | 2437 | /** |
| 2438 | - * Build the SQL query for retrieving faq records according to the constraints provided |
|
| 2439 | - * |
|
| 2440 | - * @param $QueryType |
|
| 2441 | - * @param $nCatid |
|
| 2442 | - * @param $bDownwards |
|
| 2443 | - * @param $lang |
|
| 2444 | - * @param $date |
|
| 2445 | - * @param $faqid |
|
| 2446 | - * @return array |
|
| 2447 | - * @access private |
|
| 2448 | - * @since 2005-11-02 |
|
| 2449 | - * @author Matteo Scaramuccia <[email protected]> |
|
| 2450 | - */ |
|
| 2438 | + * Build the SQL query for retrieving faq records according to the constraints provided |
|
| 2439 | + * |
|
| 2440 | + * @param $QueryType |
|
| 2441 | + * @param $nCatid |
|
| 2442 | + * @param $bDownwards |
|
| 2443 | + * @param $lang |
|
| 2444 | + * @param $date |
|
| 2445 | + * @param $faqid |
|
| 2446 | + * @return array |
|
| 2447 | + * @access private |
|
| 2448 | + * @since 2005-11-02 |
|
| 2449 | + * @author Matteo Scaramuccia <[email protected]> |
|
| 2450 | + */ |
|
| 2451 | 2451 | private function _getSQLQuery($QueryType, $nCatid, $bDownwards, $lang, $date, $faqid = 0) |
| 2452 | 2452 | { |
| 2453 | 2453 | $now = date('YmdHis'); |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The Cache class implements caching factory to be used with different concrete cache services |
|
| 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 Cache |
|
| 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 Cache class implements caching factory to be used with different concrete cache services |
|
| 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 Cache |
|
| 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(); |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The main class for fetching the configuration, update and delete items. This |
|
| 4 | - * class is also a small Dependency Injection Container for phpMyFAQ. |
|
| 5 | - * |
|
| 6 | - * PHP Version 5.3 |
|
| 7 | - * |
|
| 8 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
| 9 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
| 10 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
| 11 | - * |
|
| 12 | - * @category phpMyFAQ |
|
| 13 | - * @package Configuration |
|
| 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-01-04 |
|
| 19 | - */ |
|
| 3 | + * The main class for fetching the configuration, update and delete items. This |
|
| 4 | + * class is also a small Dependency Injection Container for phpMyFAQ. |
|
| 5 | + * |
|
| 6 | + * PHP Version 5.3 |
|
| 7 | + * |
|
| 8 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
| 9 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
| 10 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
| 11 | + * |
|
| 12 | + * @category phpMyFAQ |
|
| 13 | + * @package Configuration |
|
| 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-01-04 |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 22 | 22 | exit(); |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Abstract class for various services, e.g. Twitter, Facebook, Digg, ... |
|
| 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 Services |
|
| 13 | - * @author Thorsten Rinne <[email protected]> |
|
| 14 | - * @copyright 2010-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 2010-09-05 |
|
| 18 | - */ |
|
| 3 | + * Abstract class for various services, e.g. Twitter, Facebook, Digg, ... |
|
| 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 Services |
|
| 13 | + * @author Thorsten Rinne <[email protected]> |
|
| 14 | + * @copyright 2010-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 2010-09-05 |
|
| 18 | + */ |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Services |
@@ -1,23 +1,23 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Manages user authentication with LDAP server. |
|
| 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 Auth |
|
| 13 | - * @author Alberto Cabello <[email protected]> |
|
| 14 | - * @author Lars Scheithauer <[email protected]> |
|
| 15 | - * @author Thorsten Rinne <[email protected]> |
|
| 16 | - * @copyright 2009-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 2009-03-01 |
|
| 20 | - */ |
|
| 3 | + * Manages user authentication with LDAP server. |
|
| 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 Auth |
|
| 13 | + * @author Alberto Cabello <[email protected]> |
|
| 14 | + * @author Lars Scheithauer <[email protected]> |
|
| 15 | + * @author Thorsten Rinne <[email protected]> |
|
| 16 | + * @copyright 2009-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 2009-03-01 |
|
| 20 | + */ |
|
| 21 | 21 | |
| 22 | 22 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 23 | 23 | exit(); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * @param string $password Password |
| 135 | 135 | * |
| 136 | 136 | * @return boolean |
| 137 | - */ |
|
| 137 | + */ |
|
| 138 | 138 | public function changePassword($login, $password) |
| 139 | 139 | { |
| 140 | 140 | return true; |
@@ -1,22 +1,22 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Manages user authentication with Apache's HTTP authentication |
|
| 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 Auth |
|
| 13 | - * @author Thorsten Rinne <[email protected]> |
|
| 14 | - * @author Alberto Cabello <[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-03-01 |
|
| 19 | - */ |
|
| 3 | + * Manages user authentication with Apache's HTTP authentication |
|
| 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 Auth |
|
| 13 | + * @author Thorsten Rinne <[email protected]> |
|
| 14 | + * @author Alberto Cabello <[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-03-01 |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 22 | 22 | exit(); |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * @param string $login Loginname |
| 61 | 61 | * @param string $pass Password |
| 62 | 62 | * @return boolean |
| 63 | - */ |
|
| 63 | + */ |
|
| 64 | 64 | public function changePassword($login, $pass) |
| 65 | 65 | { |
| 66 | 66 | return true; |
@@ -1,22 +1,22 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Manages user authentication with Apache's SSO authentication, e.g. mod_sspi |
|
| 4 | - * or mod_auth_kerb |
|
| 5 | - * |
|
| 6 | - * PHP Version 5.3 |
|
| 7 | - * |
|
| 8 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
| 9 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
| 10 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
| 11 | - * |
|
| 12 | - * @category phpMyFAQ |
|
| 13 | - * @package Auth |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @copyright 2011-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 2011-06-22 |
|
| 19 | - */ |
|
| 3 | + * Manages user authentication with Apache's SSO authentication, e.g. mod_sspi |
|
| 4 | + * or mod_auth_kerb |
|
| 5 | + * |
|
| 6 | + * PHP Version 5.3 |
|
| 7 | + * |
|
| 8 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
| 9 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
| 10 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
| 11 | + * |
|
| 12 | + * @category phpMyFAQ |
|
| 13 | + * @package Auth |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @copyright 2011-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 2011-06-22 |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 22 | 22 | exit(); |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | * @param string $pass Password |
| 79 | 79 | * |
| 80 | 80 | * @return boolean |
| 81 | - */ |
|
| 81 | + */ |
|
| 82 | 82 | public function changePassword($login, $pass) |
| 83 | 83 | { |
| 84 | 84 | return true; |