mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
check for minimum php version
This commit is contained in:
parent
67e676349d
commit
5d06e2e256
|
@ -1090,6 +1090,15 @@ class Settings { /* {{{ */
|
|||
}
|
||||
}
|
||||
|
||||
// Check PHP version
|
||||
if (version_compare(PHP_VERSION, '5.2.0') < 0) {
|
||||
$result["php_version"] = array(
|
||||
"status" => "versiontolow",
|
||||
"type" => "error",
|
||||
"suggestion" => "upgrade_php"
|
||||
);
|
||||
}
|
||||
|
||||
// Check PHP configuration
|
||||
$loaded_extensions = get_loaded_extensions();
|
||||
// gd2
|
||||
|
|
|
@ -732,6 +732,7 @@ $text = array(
|
|||
'settings_php_dbDriver' => "PHP extension : php_'see current value'",
|
||||
'settings_php_gd2' => "PHP extension : php_gd2",
|
||||
'settings_php_mbstring' => "PHP extension : php_mbstring",
|
||||
'settings_php_version' => "PHP Version",
|
||||
'settings_printDisclaimer_desc' => "If true the disclaimer message the lang.inc files will be print on the bottom of the page",
|
||||
'settings_printDisclaimer' => "Print Disclaimer",
|
||||
'settings_quota' => "User's quota",
|
||||
|
@ -770,12 +771,14 @@ $text = array(
|
|||
'settings_updateDatabase' => "Run schema update scripts on database",
|
||||
'settings_updateNotifyTime_desc' => "Users are notified about document-changes that took place within the last 'Update Notify Time' seconds",
|
||||
'settings_updateNotifyTime' => "Update Notify Time",
|
||||
'settings_upgrade_php' => "Upgrade PHP to at least version 5.2.0",
|
||||
'settings_undelUserIds_desc' => "Comma separated list of user ids, that cannot be deleted.",
|
||||
'settings_undelUserIds' => "Undeletable User IDs",
|
||||
'settings_versioningFileName_desc' => "The name of the versioning info file created by the backup tool",
|
||||
'settings_versioningFileName' => "Versioning FileName",
|
||||
'settings_viewOnlineFileTypes_desc' => "Files with one of the following endings can be viewed online (USE ONLY LOWER CASE CHARACTERS)",
|
||||
'settings_viewOnlineFileTypes' => "View Online File Types",
|
||||
'settings_versiontolow' => "Version to low",
|
||||
'settings_workflowMode_desc' => "The advanced workflow allows to specify your own release workflow for document versions.",
|
||||
'settings_workflowMode' => "Workflow mode",
|
||||
'settings_workflowMode_valtraditional' => "traditional",
|
||||
|
@ -889,6 +892,7 @@ $text = array(
|
|||
'versioning_file_creation_warning' => "With this operation you can create a file containing the versioning information of an entire DMS folder. After the creation every file will be saved inside the document folder.",
|
||||
'versioning_info' => "Versioning info",
|
||||
'version' => "Version",
|
||||
'versiontolow' => "Version to low",
|
||||
'view' => "View",
|
||||
'view_online' => "View online",
|
||||
'warning' => "Warning",
|
||||
|
|
Loading…
Reference in New Issue
Block a user