@@ -1,28 +1,28 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The main phpMyFAQ Setup. |
|
4 | - * |
|
5 | - * This script checks the complete environment, writes the database connection |
|
6 | - * parameters into the file config/database.php and the configuration into the database. |
|
7 | - * |
|
8 | - * PHP Version 5.5 |
|
9 | - * |
|
10 | - * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
11 | - * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
12 | - * obtain one at http://mozilla.org/MPL/2.0/. |
|
13 | - * |
|
14 | - * @category phpMyFAQ |
|
15 | - * @author Thorsten Rinne <[email protected]> |
|
16 | - * @author Tom Rochester <[email protected]> |
|
17 | - * @author Johannes Schlüter <[email protected]> |
|
18 | - * @author Uwe Pries <[email protected]> |
|
19 | - * @author Matteo Scaramuccia <[email protected]> |
|
20 | - * @author Florian Anderiasch <[email protected]> |
|
21 | - * @copyright 2002-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 2002-08-20 |
|
25 | - */ |
|
3 | + * The main phpMyFAQ Setup. |
|
4 | + * |
|
5 | + * This script checks the complete environment, writes the database connection |
|
6 | + * parameters into the file config/database.php and the configuration into the database. |
|
7 | + * |
|
8 | + * PHP Version 5.5 |
|
9 | + * |
|
10 | + * This Source Code Form is subject to the terms of the Mozilla Public License, |
|
11 | + * v. 2.0. If a copy of the MPL was not distributed with this file, You can |
|
12 | + * obtain one at http://mozilla.org/MPL/2.0/. |
|
13 | + * |
|
14 | + * @category phpMyFAQ |
|
15 | + * @author Thorsten Rinne <[email protected]> |
|
16 | + * @author Tom Rochester <[email protected]> |
|
17 | + * @author Johannes Schlüter <[email protected]> |
|
18 | + * @author Uwe Pries <[email protected]> |
|
19 | + * @author Matteo Scaramuccia <[email protected]> |
|
20 | + * @author Florian Anderiasch <[email protected]> |
|
21 | + * @copyright 2002-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 2002-08-20 |
|
25 | + */ |
|
26 | 26 | |
27 | 27 | define('COPYRIGHT', '© 2001-2015 <a href="http://www.phpmyfaq.de/">phpMyFAQ Team</a> | Follow us on <a href="http://twitter.com/phpMyFAQ">Twitter</a> | All rights reserved.'); |
28 | 28 | define('PMF_ROOT_DIR', dirname(dirname(__FILE__))); |
@@ -62,7 +62,7 @@ |
||
62 | 62 | } |
63 | 63 | } else { |
64 | 64 | $user = PMF_User_CurrentUser::getFromCookie($faqConfig); |
65 | - if (! $user instanceof PMF_User_CurrentUser) { |
|
65 | + if (!$user instanceof PMF_User_CurrentUser) { |
|
66 | 66 | $user = PMF_User_CurrentUser::getFromSession($faqConfig); |
67 | 67 | } |
68 | 68 | } |
@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Hungarian language file |
|
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 | - * @author Tóth Balázs <[email protected]> |
|
13 | - * @copyright 2004-2016 phpMyFAQ Team |
|
14 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
15 | - * @link http://www.phpmyfaq.de |
|
16 | - * @since 2004-02-19 |
|
17 | - */ |
|
3 | + * Hungarian language file |
|
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 | + * @author Tóth Balázs <[email protected]> |
|
13 | + * @copyright 2004-2016 phpMyFAQ Team |
|
14 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
15 | + * @link http://www.phpmyfaq.de |
|
16 | + * @since 2004-02-19 |
|
17 | + */ |
|
18 | 18 | |
19 | 19 | $PMF_LANG['metaCharset'] = 'UTF-8'; |
20 | 20 | $PMF_LANG['metaLanguage'] = 'hu'; |
@@ -1,21 +1,21 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Adds a record in the database, handles the preview and checks for missing |
|
4 | - * category entries. |
|
5 | - * |
|
6 | - * PHP Version 5.5 |
|
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 | - * @author Thorsten Rinne <[email protected]> |
|
14 | - * @copyright 2003-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 2003-02-23 |
|
18 | - */ |
|
3 | + * Adds a record in the database, handles the preview and checks for missing |
|
4 | + * category entries. |
|
5 | + * |
|
6 | + * PHP Version 5.5 |
|
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 | + * @author Thorsten Rinne <[email protected]> |
|
14 | + * @copyright 2003-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 2003-02-23 |
|
18 | + */ |
|
19 | 19 | if (!defined('IS_VALID_PHPMYFAQ')) { |
20 | 20 | $protocol = 'http'; |
21 | 21 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -123,7 +123,7 @@ |
||
123 | 123 | $errorMessage = 'The uploaded file exceeds the upload_max_filesize directive in php.ini.'; |
124 | 124 | break; |
125 | 125 | case 2: |
126 | - $errorMessage = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the ' . |
|
126 | + $errorMessage = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the '. |
|
127 | 127 | 'HTML form.'; |
128 | 128 | break; |
129 | 129 | case 3: |
@@ -1,22 +1,22 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * The main stop words configuration frontend. |
|
4 | - * |
|
5 | - * PHP Version 5.5 |
|
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 | - * |
|
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 | - * |
|
17 | - * @link http://www.phpmyfaq.de |
|
18 | - * @since 2009-04-01 |
|
19 | - */ |
|
3 | + * The main stop words configuration frontend. |
|
4 | + * |
|
5 | + * PHP Version 5.5 |
|
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 | + * |
|
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 | + * |
|
17 | + * @link http://www.phpmyfaq.de |
|
18 | + * @since 2009-04-01 |
|
19 | + */ |
|
20 | 20 | if (!defined('IS_VALID_PHPMYFAQ')) { |
21 | 21 | $protocol = 'http'; |
22 | 22 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |
@@ -1,23 +1,23 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Adds a new (sub-)category, a new sub-category inherits the permissions from |
|
4 | - * its parent category. |
|
5 | - * |
|
6 | - * PHP Version 5.5 |
|
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 | - * |
|
14 | - * @author Thorsten Rinne <[email protected]> |
|
15 | - * @copyright 2003-2016 phpMyFAQ Team |
|
16 | - * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | - * |
|
18 | - * @link http://www.phpmyfaq.de |
|
19 | - * @since 2003-12-20 |
|
20 | - */ |
|
3 | + * Adds a new (sub-)category, a new sub-category inherits the permissions from |
|
4 | + * its parent category. |
|
5 | + * |
|
6 | + * PHP Version 5.5 |
|
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 | + * |
|
14 | + * @author Thorsten Rinne <[email protected]> |
|
15 | + * @copyright 2003-2016 phpMyFAQ Team |
|
16 | + * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 |
|
17 | + * |
|
18 | + * @link http://www.phpmyfaq.de |
|
19 | + * @since 2003-12-20 |
|
20 | + */ |
|
21 | 21 | if (!defined('IS_VALID_PHPMYFAQ')) { |
22 | 22 | $protocol = 'http'; |
23 | 23 | if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') { |