Skip to content

Commit

Permalink
refactor: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Oct 30, 2022
1 parent 8b47f38 commit 6d3957c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions phpmyfaq/setup/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/.
*
* @package phpMyFAQ
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Thomas Melchinger <t.melchinger@uni.de>
* @author Matteo Scaramuccia <matteo@phpmyfaq.de>
* @package phpMyFAQ
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Thomas Melchinger <t.melchinger@uni.de>
* @author Matteo Scaramuccia <matteo@phpmyfaq.de>
* @copyright 2002-2022 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
* @link https://www.phpmyfaq.de
* @since 2002-01-10
* @license https://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
* @link https://www.phpmyfaq.de
* @since 2002-01-10
*/

use phpMyFAQ\Database;
Expand All @@ -23,9 +23,10 @@
use phpMyFAQ\Permission\BasicPermission;
use phpMyFAQ\System;

define('COPYRIGHT', '&copy; 2001-2022 <a target="_blank" href="//www.phpmyfaq.de/">phpMyFAQ Team</a>');
define('PMF_ROOT_DIR', dirname(dirname(__FILE__)));
define('IS_VALID_PHPMYFAQ', null);
const COPYRIGHT = '&copy; 2001-2022 <a target="_blank" href="//www.phpmyfaq.de/">phpMyFAQ Team</a>';
const IS_VALID_PHPMYFAQ = null;

define('PMF_ROOT_DIR', dirname(__FILE__, 2));

if (version_compare(PHP_VERSION, '7.4.0') < 0) {
die('Sorry, but you need PHP 7.4.0 or later!');
Expand Down

0 comments on commit 6d3957c

Please sign in to comment.