Skip to content

Commit

Permalink
Minor - Update links to php.net to use HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed Apr 12, 2020
1 parent 29c4aae commit fb69657
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
64 changes: 32 additions & 32 deletions main/inc/lib/diagnoser.lib.php
Expand Up @@ -158,7 +158,7 @@ public function get_chamilo_data()
$status,
'[FILES]',
get_lang('IsWritable').': '.$folder,
'http://be2.php.net/manual/en/function.is-writable.php',
'https://php.net/manual/en/function.is-writable.php',
$writable,
1,
'yes_no',
Expand All @@ -172,7 +172,7 @@ public function get_chamilo_data()
$status,
'[FILES]',
get_lang('DirectoryExists').': /install',
'http://be2.php.net/file_exists',
'https://php.net/file_exists',
$exists,
0,
'yes_no',
Expand Down Expand Up @@ -273,7 +273,7 @@ public function get_php_data()
$status,
'[PHP]',
'phpversion()',
'http://www.php.net/manual/en/function.phpversion.php',
'https://php.net/manual/en/function.phpversion.php',
phpversion(),
'>= '.REQUIRED_PHP_VERSION,
null,
Expand All @@ -287,7 +287,7 @@ public function get_php_data()
$status,
'[INI]',
'output_buffering',
'http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-buffering',
'https://php.net/manual/en/outcontrol.configuration.php#ini.output-buffering',
$setting,
$req_setting,
'on_off',
Expand All @@ -301,7 +301,7 @@ public function get_php_data()
$status,
'[INI]',
'file_uploads',
'http://www.php.net/manual/en/ini.core.php#ini.file-uploads',
'https://php.net/manual/en/ini.core.php#ini.file-uploads',
$setting,
$req_setting,
'on_off',
Expand All @@ -315,7 +315,7 @@ public function get_php_data()
$status,
'[INI]',
'magic_quotes_runtime',
'http://www.php.net/manual/en/ini.core.php#ini.magic-quotes-runtime',
'https://php.net/manual/en/ini.core.php#ini.magic-quotes-runtime',
$setting,
$req_setting,
'on_off',
Expand All @@ -329,7 +329,7 @@ public function get_php_data()
$status,
'[INI]',
'safe_mode',
'http://www.php.net/manual/en/ini.core.php#ini.safe-mode',
'https://php.net/manual/en/ini.core.php#ini.safe-mode',
$setting,
$req_setting,
'on_off',
Expand All @@ -343,7 +343,7 @@ public function get_php_data()
$status,
'[INI]',
'register_globals',
'http://www.php.net/manual/en/ini.core.php#ini.register-globals',
'https://php.net/manual/en/ini.core.php#ini.register-globals',
$setting,
$req_setting,
'on_off',
Expand All @@ -357,7 +357,7 @@ public function get_php_data()
$status,
'[INI]',
'short_open_tag',
'http://www.php.net/manual/en/ini.core.php#ini.short-open-tag',
'https://php.net/manual/en/ini.core.php#ini.short-open-tag',
$setting,
$req_setting,
'on_off',
Expand All @@ -371,7 +371,7 @@ public function get_php_data()
$status,
'[INI]',
'magic_quotes_gpc',
'http://www.php.net/manual/en/ini.core.php#ini.magic_quotes_gpc',
'https://php.net/manual/en/ini.core.php#ini.magic_quotes_gpc',
$setting,
$req_setting,
'on_off',
Expand All @@ -385,7 +385,7 @@ public function get_php_data()
$status,
'[INI]',
'display_errors',
'http://www.php.net/manual/en/ini.core.php#ini.display_errors',
'https://php.net/manual/en/ini.core.php#ini.display_errors',
$setting,
$req_setting,
'on_off',
Expand All @@ -402,7 +402,7 @@ public function get_php_data()
$status,
'[INI]',
'default_charset',
'http://www.php.net/manual/en/ini.core.php#ini.default-charset',
'https://php.net/manual/en/ini.core.php#ini.default-charset',
$setting,
$req_setting,
null,
Expand All @@ -416,7 +416,7 @@ public function get_php_data()
$status,
'[INI]',
'max_execution_time',
'http://www.php.net/manual/en/ini.core.php#ini.max-execution-time',
'https://php.net/manual/en/ini.core.php#ini.max-execution-time',
$setting,
$req_setting,
null,
Expand All @@ -430,7 +430,7 @@ public function get_php_data()
$status,
'[INI]',
'max_input_time',
'http://www.php.net/manual/en/ini.core.php#ini.max-input-time',
'https://php.net/manual/en/ini.core.php#ini.max-input-time',
$setting,
$req_setting,
null,
Expand All @@ -447,7 +447,7 @@ public function get_php_data()
$status,
'[INI]',
'memory_limit',
'http://www.php.net/manual/en/ini.core.php#ini.memory-limit',
'https://php.net/manual/en/ini.core.php#ini.memory-limit',
$setting,
$req_setting,
null,
Expand All @@ -464,7 +464,7 @@ public function get_php_data()
$status,
'[INI]',
'post_max_size',
'http://www.php.net/manual/en/ini.core.php#ini.post-max-size',
'https://php.net/manual/en/ini.core.php#ini.post-max-size',
$setting,
$req_setting,
null,
Expand All @@ -481,7 +481,7 @@ public function get_php_data()
$status,
'[INI]',
'upload_max_filesize',
'http://www.php.net/manual/en/ini.core.php#ini.upload_max_filesize',
'https://php.net/manual/en/ini.core.php#ini.upload_max_filesize',
$setting,
$req_setting,
null,
Expand All @@ -494,7 +494,7 @@ public function get_php_data()
$status,
'[INI]',
'upload_tmp_dir',
'http://www.php.net/manual/en/ini.core.php#ini.upload_tmp_dir',
'https://php.net/manual/en/ini.core.php#ini.upload_tmp_dir',
$setting,
'',
null,
Expand All @@ -508,7 +508,7 @@ public function get_php_data()
$status,
'[INI]',
'variables_order',
'http://www.php.net/manual/en/ini.core.php#ini.variables-order',
'https://php.net/manual/en/ini.core.php#ini.variables-order',
$setting,
$req_setting,
null,
Expand All @@ -522,7 +522,7 @@ public function get_php_data()
$status,
'[SESSION]',
'session.gc_maxlifetime',
'http://www.php.net/manual/en/ini.core.php#session.gc-maxlifetime',
'https://php.net/manual/en/ini.core.php#session.gc-maxlifetime',
$setting,
$req_setting,
null,
Expand All @@ -540,7 +540,7 @@ public function get_php_data()
$status,
'[INI]',
'browscap',
'http://www.php.net/manual/en/misc.configuration.php#ini.browscap',
'https://php.net/manual/en/misc.configuration.php#ini.browscap',
$setting,
$req_setting,
'on_off',
Expand All @@ -550,7 +550,7 @@ public function get_php_data()
// Extensions
$extensions = [
'gd' => [
'link' => 'https://www.php.net/gd',
'link' => 'https://php.net/gd',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
],
Expand All @@ -560,52 +560,52 @@ public function get_php_data()
'comment' => get_lang('ExtensionMustBeLoaded'),
],
'pcre' => [
'link' => 'https://www.php.net/pcre',
'link' => 'https://php.net/pcre',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
],
'session' => [
'link' => 'https://www.php.net/session',
'link' => 'https://php.net/session',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
],
'standard' => [
'link' => 'https://www.php.net/spl',
'link' => 'https://php.net/spl',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
],
'zlib' => [
'link' => 'https://www.php.net/zlib',
'link' => 'https://php.net/zlib',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
],
'curl' => [
'link' => 'https://www.php.net/curl',
'link' => 'https://php.net/curl',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
],
'fileinfo' => [
'link' => 'https://www.php.net/fileinfo',
'link' => 'https://php.net/fileinfo',
'expected' => 1,
'comment' => get_lang('ExtensionMustBeLoaded'),
],
'xsl' => [
'link' => 'https://be2.php.net/xsl',
'link' => 'https://php.net/xsl',
'expected' => 2,
'comment' => get_lang('ExtensionShouldBeLoaded'),
],
'Zend OPcache' => [
'link' => 'https://www.php.net/opcache',
'link' => 'https://php.net/opcache',
'expected' => 2,
'comment' => get_lang('ExtensionShouldBeLoaded'),
],
'apcu' => [
'link' => 'https://www.php.net/apcu',
'link' => 'https://php.net/apcu',
'expected' => 2,
'comment' => get_lang('ExtensionShouldBeLoaded'),
],
'openssl' => [ //required only for DKIM e-mail signatures
'link' => 'https://www.php.net/openssl',
'link' => 'https://php.net/openssl',
'expected' => 2,
'comment' => get_lang('ExtensionShouldBeLoaded'),
],
Expand Down

0 comments on commit fb69657

Please sign in to comment.