@@ -1,23 +1,23 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The PMF_DB_Mysqli class provides methods and functions for MySQL 5.x and |
|
| 4 | - * MariaDB 5.x databases |
|
| 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 DB |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @author David Soria Parra <[email protected]> |
|
| 16 | - * @copyright 2005-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 | - * @package 2005-02-21 |
|
| 20 | - */ |
|
| 3 | + * The PMF_DB_Mysqli class provides methods and functions for MySQL 5.x and |
|
| 4 | + * MariaDB 5.x databases |
|
| 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 DB |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @author David Soria Parra <[email protected]> |
|
| 16 | + * @copyright 2005-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 | + * @package 2005-02-21 |
|
| 20 | + */ |
|
| 21 | 21 | |
| 22 | 22 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 23 | 23 | exit(); |
@@ -122,11 +122,11 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | - * Escapes a string for use in a query |
|
| 126 | - * |
|
| 127 | - * @param string |
|
| 128 | - * @return string |
|
| 129 | - */ |
|
| 125 | + * Escapes a string for use in a query |
|
| 126 | + * |
|
| 127 | + * @param string |
|
| 128 | + * @return string |
|
| 129 | + */ |
|
| 130 | 130 | public function escape($string) |
| 131 | 131 | { |
| 132 | 132 | return $this->conn->real_escape_string($string); |
@@ -207,11 +207,11 @@ discard block |
||
| 207 | 207 | return $this->sqllog; |
| 208 | 208 | } |
| 209 | 209 | |
| 210 | - /** |
|
| 211 | - * This function returns the table status. |
|
| 212 | - * |
|
| 213 | - * @return array |
|
| 214 | - */ |
|
| 210 | + /** |
|
| 211 | + * This function returns the table status. |
|
| 212 | + * |
|
| 213 | + * @return array |
|
| 214 | + */ |
|
| 215 | 215 | public function getTableStatus() |
| 216 | 216 | { |
| 217 | 217 | $arr = array(); |
@@ -237,19 +237,19 @@ discard block |
||
| 237 | 237 | MAX(%s) AS current_id |
| 238 | 238 | FROM |
| 239 | 239 | %s", |
| 240 | - $id, |
|
| 241 | - $table); |
|
| 240 | + $id, |
|
| 241 | + $table); |
|
| 242 | 242 | |
| 243 | 243 | $result = $this->query($select); |
| 244 | 244 | $current = $result->fetch_row(); |
| 245 | 245 | return $current[0] + 1; |
| 246 | 246 | } |
| 247 | 247 | |
| 248 | - /** |
|
| 249 | - * Returns the error string. |
|
| 250 | - * |
|
| 251 | - * @return string |
|
| 252 | - */ |
|
| 248 | + /** |
|
| 249 | + * Returns the error string. |
|
| 250 | + * |
|
| 251 | + * @return string |
|
| 252 | + */ |
|
| 253 | 253 | public function error() |
| 254 | 254 | { |
| 255 | 255 | return $this->conn->error; |
@@ -1,23 +1,23 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The PMF_DB_Sqlite class provides methods and functions for a SQLite v2 |
|
| 4 | - * database. This class is deprecated for PHP 5.3 and PHP 5.4. |
|
| 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 DB |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @author Johannes Schlüter <[email protected]> |
|
| 16 | - * @copyright 2005-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 2005-06-27 |
|
| 20 | - */ |
|
| 3 | + * The PMF_DB_Sqlite class provides methods and functions for a SQLite v2 |
|
| 4 | + * database. This class is deprecated for PHP 5.3 and PHP 5.4. |
|
| 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 DB |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @author Johannes Schlüter <[email protected]> |
|
| 16 | + * @copyright 2005-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 2005-06-27 |
|
| 20 | + */ |
|
| 21 | 21 | |
| 22 | 22 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 23 | 23 | exit(); |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | */ |
| 127 | 127 | public function escape($string) |
| 128 | 128 | { |
| 129 | - return sqlite_escape_string($string); |
|
| 129 | + return sqlite_escape_string($string); |
|
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | /** |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Interface for database drivers |
|
| 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 DB |
|
| 13 | - * @author Johannes Schlüter <[email protected]> |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @copyright 2007-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 2007-08-19 |
|
| 19 | - */ |
|
| 3 | + * Interface for database drivers |
|
| 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 DB |
|
| 13 | + * @author Johannes Schlüter <[email protected]> |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @copyright 2007-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 2007-08-19 |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 22 | 22 | exit(); |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The PMF_DB_Sqlite3 class provides methods and functions for a SQLite v3 |
|
| 4 | - * database |
|
| 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 DB |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @copyright 2012-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 2012-03-02 |
|
| 19 | - */ |
|
| 3 | + * The PMF_DB_Sqlite3 class provides methods and functions for a SQLite v3 |
|
| 4 | + * database |
|
| 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 DB |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @copyright 2012-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 2012-03-02 |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 22 | 22 | exit(); |
@@ -1,23 +1,23 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The PMF_DB_Mssql class provides methods and functions for Microsoft SQL |
|
| 4 | - * Server 2012 or later |
|
| 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 DB |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @author Daniel Hoechst <[email protected]> |
|
| 16 | - * @copyright 2005-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 | - * @package 2005-01-11 |
|
| 20 | - */ |
|
| 3 | + * The PMF_DB_Mssql class provides methods and functions for Microsoft SQL |
|
| 4 | + * Server 2012 or later |
|
| 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 DB |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @author Daniel Hoechst <[email protected]> |
|
| 16 | + * @copyright 2005-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 | + * @package 2005-01-11 |
|
| 20 | + */ |
|
| 21 | 21 | |
| 22 | 22 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 23 | 23 | exit(); |
@@ -129,11 +129,11 @@ discard block |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | - * Escapes a string for use in a query |
|
| 133 | - * |
|
| 134 | - * @param string |
|
| 135 | - * @return string |
|
| 136 | - */ |
|
| 132 | + * Escapes a string for use in a query |
|
| 133 | + * |
|
| 134 | + * @param string |
|
| 135 | + * @return string |
|
| 136 | + */ |
|
| 137 | 137 | public function escape($string) |
| 138 | 138 | { |
| 139 | 139 | return str_replace("'", "''", $string); |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | */ |
| 273 | 273 | public function clientVersion() |
| 274 | 274 | { |
| 275 | - return ''; |
|
| 275 | + return ''; |
|
| 276 | 276 | } |
| 277 | 277 | |
| 278 | 278 | /** |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Helper class for database drivers |
|
| 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 DB |
|
| 13 | - * @author Thorsten Rinne <[email protected]> |
|
| 14 | - * @author Matteo Scaramuccia <[email protected]> |
|
| 15 | - * @copyright 2012-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 2012-04-12 |
|
| 19 | - */ |
|
| 3 | + * Helper class for database drivers |
|
| 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 DB |
|
| 13 | + * @author Thorsten Rinne <[email protected]> |
|
| 14 | + * @author Matteo Scaramuccia <[email protected]> |
|
| 15 | + * @copyright 2012-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 2012-04-12 |
|
| 19 | + */ |
|
| 20 | 20 | |
| 21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 22 | 22 | exit(); |
@@ -1,24 +1,24 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The PMF_DB_Mysql class provides methods and functions for MySQL 5.0.x, |
|
| 4 | - * 5.1.x, and 5.5.x databases. |
|
| 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 DB |
|
| 14 | - * @author Thorsten Rinne <[email protected]> |
|
| 15 | - * @author Meikel Katzengreis <[email protected]> |
|
| 16 | - * @author Tom Rochester <[email protected]> |
|
| 17 | - * @copyright 2003-2016 phpMyFAQ Team |
|
| 18 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 19 | - * @link http://www.phpmyfaq.de |
|
| 20 | - * @package 2003-02-24 |
|
| 21 | - */ |
|
| 3 | + * The PMF_DB_Mysql class provides methods and functions for MySQL 5.0.x, |
|
| 4 | + * 5.1.x, and 5.5.x databases. |
|
| 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 DB |
|
| 14 | + * @author Thorsten Rinne <[email protected]> |
|
| 15 | + * @author Meikel Katzengreis <[email protected]> |
|
| 16 | + * @author Tom Rochester <[email protected]> |
|
| 17 | + * @copyright 2003-2016 phpMyFAQ Team |
|
| 18 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 19 | + * @link http://www.phpmyfaq.de |
|
| 20 | + * @package 2003-02-24 |
|
| 21 | + */ |
|
| 22 | 22 | |
| 23 | 23 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 24 | 24 | exit(); |
@@ -227,8 +227,8 @@ discard block |
||
| 227 | 227 | MAX(%s) AS current_id |
| 228 | 228 | FROM |
| 229 | 229 | %s", |
| 230 | - $id, |
|
| 231 | - $table); |
|
| 230 | + $id, |
|
| 231 | + $table); |
|
| 232 | 232 | |
| 233 | 233 | $result = $this->query($select); |
| 234 | 234 | $currentId = mysql_result($result, 0, 'current_id'); |
@@ -236,11 +236,11 @@ discard block |
||
| 236 | 236 | return ($currentId + 1); |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | - /** |
|
| 240 | - * Returns the error string. |
|
| 241 | - * |
|
| 242 | - * @return string |
|
| 243 | - */ |
|
| 239 | + /** |
|
| 240 | + * Returns the error string. |
|
| 241 | + * |
|
| 242 | + * @return string |
|
| 243 | + */ |
|
| 244 | 244 | public function error() |
| 245 | 245 | { |
| 246 | 246 | return mysql_error(); |
@@ -1,26 +1,26 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The PMF_Linkverifier class provides methods and functions for verifying URLs |
|
| 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 | - * The Initial Developer of the Original Code is released for external use |
|
| 12 | - * with permission from NetJapan, Inc. IT Administration Group. |
|
| 13 | - * |
|
| 14 | - * @category phpMyFAQ |
|
| 15 | - * @package PMF_Linkverifier |
|
| 16 | - * @author Minoru TODA <[email protected]> |
|
| 17 | - * @author Matteo Scaramuccia <[email protected]> |
|
| 18 | - * @author Thorsten Rinne <[email protected]> |
|
| 19 | - * @copyright 2005-2016 NetJapan, Inc. and phpMyFAQ Team |
|
| 20 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 21 | - * @link http://www.phpmyfaq.de |
|
| 22 | - * @since 2005-08-01 |
|
| 23 | - */ |
|
| 3 | + * The PMF_Linkverifier class provides methods and functions for verifying URLs |
|
| 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 | + * The Initial Developer of the Original Code is released for external use |
|
| 12 | + * with permission from NetJapan, Inc. IT Administration Group. |
|
| 13 | + * |
|
| 14 | + * @category phpMyFAQ |
|
| 15 | + * @package PMF_Linkverifier |
|
| 16 | + * @author Minoru TODA <[email protected]> |
|
| 17 | + * @author Matteo Scaramuccia <[email protected]> |
|
| 18 | + * @author Thorsten Rinne <[email protected]> |
|
| 19 | + * @copyright 2005-2016 NetJapan, Inc. and phpMyFAQ Team |
|
| 20 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
| 21 | + * @link http://www.phpmyfaq.de |
|
| 22 | + * @since 2005-08-01 |
|
| 23 | + */ |
|
| 24 | 24 | |
| 25 | 25 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 26 | 26 | exit(); |
@@ -712,15 +712,15 @@ discard block |
||
| 712 | 712 | } |
| 713 | 713 | |
| 714 | 714 | /** |
| 715 | - * Verifies specified article content and update links_state database entry |
|
| 716 | - * |
|
| 717 | - * @param string $contents |
|
| 718 | - * @param integer $id |
|
| 719 | - * @param string $artlang |
|
| 720 | - * @param boolean $cron |
|
| 721 | - * |
|
| 722 | - * @return string HTML text, if $cron is false (default) |
|
| 723 | - */ |
|
| 715 | + * Verifies specified article content and update links_state database entry |
|
| 716 | + * |
|
| 717 | + * @param string $contents |
|
| 718 | + * @param integer $id |
|
| 719 | + * @param string $artlang |
|
| 720 | + * @param boolean $cron |
|
| 721 | + * |
|
| 722 | + * @return string HTML text, if $cron is false (default) |
|
| 723 | + */ |
|
| 724 | 724 | public function verifyArticleURL($contents = '', $id = 0, $artlang = '', $cron = false) |
| 725 | 725 | { |
| 726 | 726 | global $PMF_LANG; |
@@ -774,7 +774,7 @@ discard block |
||
| 774 | 774 | $inforeasons[] = sprintf( |
| 775 | 775 | $PMF_LANG['ad_linkcheck_openurl_infoprefix'], |
| 776 | 776 | PMF_String::htmlspecialchars($value['absurl']) |
| 777 | - ) . $value['reason']; |
|
| 777 | + ) . $value['reason']; |
|
| 778 | 778 | } |
| 779 | 779 | } else { |
| 780 | 780 | $_classname = "urlfail"; |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * The main Sitemap 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 PMF_Sitemap |
|
| 13 | - * @author Thorsten Rinne <[email protected]> |
|
| 14 | - * @copyright 2007-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 2007-03-30 |
|
| 18 | - */ |
|
| 3 | + * The main Sitemap 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 PMF_Sitemap |
|
| 13 | + * @author Thorsten Rinne <[email protected]> |
|
| 14 | + * @copyright 2007-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 2007-03-30 |
|
| 18 | + */ |
|
| 19 | 19 | |
| 20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
| 21 | 21 | exit(); |