-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'staging' into com_finder
# Conflicts: # components/com_finder/models/search.php
- Loading branch information
Showing
1,847 changed files
with
61,318 additions
and
34,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
administrator/components/com_admin/postinstall/joomla40checks.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_admin | ||
* | ||
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
* | ||
* This file contains post-installation message handling for Joomla 4.0 pre checks | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
|
||
/** | ||
* Checks if the installation meats the current requirements for Joomla 4 | ||
* | ||
* @return boolean True if any check fails. | ||
* | ||
* @since 3.7 | ||
* | ||
* @see https://developer.joomla.org/news/658-joomla4-manifesto.html | ||
*/ | ||
function admin_postinstall_joomla40checks_condition() | ||
{ | ||
$db = JFactory::getDbo(); | ||
$serverType = $db->getServerType(); | ||
$serverVersion = $db->getVersion(); | ||
|
||
if ($serverType == 'mssql') | ||
{ | ||
// MS SQL support will be dropped | ||
return true; | ||
} | ||
|
||
if ($serverType == 'postgresql' && version_compare($serverVersion, '9.2', 'lt')) | ||
{ | ||
// PostgreSQL minimum version is 9.2 | ||
return true; | ||
} | ||
|
||
|
||
if ($serverType == 'mysql' && version_compare($serverVersion, '5.5.3', 'lt')) | ||
{ | ||
// MySQL minimum version is 5.5.3 | ||
return true; | ||
} | ||
|
||
// PHP minimum version is 5.5 | ||
return version_compare(PHP_VERSION, '5.5.9', 'lt'); | ||
} |
Oops, something went wrong.