Skip to content

Commit 4499d39

Browse files
authored
Merge pull request #55 from Seb33300/fix-https
Fix HTTPS in URLs
2 parents 57a75d1 + e570a3d commit 4499d39

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

Command/CKFinderDownloadCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function buildPackageUrl()
4646
{
4747
$packageVersion = self::LATEST_VERSION;
4848

49-
return "http://download.cksource.com/CKFinder/CKFinder%20for%20PHP/$packageVersion/ckfinder_php_$packageVersion.zip";
49+
return "https://download.cksource.com/CKFinder/CKFinder%20for%20PHP/$packageVersion/ckfinder_php_$packageVersion.zip";
5050
}
5151

5252
/**

DependencyInjection/CKSourceCKFinderExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* This is the class that loads and manages your bundle configuration.
2222
*
23-
* To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}.
23+
* To learn more see {@link https://symfony.com/doc/current/cookbook/bundles/extension.html}.
2424
*/
2525
class CKSourceCKFinderExtension extends Extension implements PrependExtensionInterface
2626
{

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* This is the class that validates and merges configuration from your app/config files.
1919
*
20-
* To learn more, see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}.
20+
* To learn more, see {@link https://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}.
2121
*/
2222
class Configuration implements ConfigurationInterface
2323
{

Resources/config/ckfinder_config.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
/*
55
* CKFinder Configuration File
66
*
7-
* For the official documentation visit http://docs.cksource.com/ckfinder3-php/
7+
* For the official documentation visit https://docs.cksource.com/ckfinder3-php/
88
*/
99

1010

1111
/*============================ PHP Error Reporting ====================================*/
12-
// http://docs.cksource.com/ckfinder3-php/debugging.html
12+
// https://docs.cksource.com/ckfinder3-php/debugging.html
1313

1414
// Production
1515
//error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
@@ -20,18 +20,18 @@
2020
// ini_set('display_errors', 1);
2121

2222
/*============================ General Settings =======================================*/
23-
// http://docs.cksource.com/ckfinder3-php/configuration.html
23+
// https://docs.cksource.com/ckfinder3-php/configuration.html
2424

2525
$config = array();
2626

2727
/*============================ License Key ============================================*/
28-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_licenseKey
28+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_licenseKey
2929

3030
$config['licenseName'] = '';
3131
$config['licenseKey'] = '';
3232

3333
/*============================ CKFinder Internal Directory ============================*/
34-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_privateDir
34+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_privateDir
3535

3636
$config['privateDir'] = array(
3737
'backend' => 'symfony_cache',
@@ -45,7 +45,7 @@
4545
);
4646

4747
/*============================ Images and Thumbnails ==================================*/
48-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_images
48+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_images
4949

5050
$config['images'] = array(
5151
'maxWidth' => 1600,
@@ -59,7 +59,7 @@
5959
);
6060

6161
/*=================================== Backends ========================================*/
62-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_backends
62+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_backends
6363

6464
$config['backends']['symfony_cache'] = array(
6565
'name' => 'symfony_cache',
@@ -84,7 +84,7 @@
8484
);
8585

8686
/*================================ Resource Types =====================================*/
87-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_resourceTypes
87+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_resourceTypes
8888

8989
$config['defaultResourceTypes'] = '';
9090

@@ -107,11 +107,11 @@
107107
);
108108

109109
/*================================ Access Control =====================================*/
110-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_roleSessionVar
110+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_roleSessionVar
111111

112112
$config['roleSessionVar'] = 'CKFinder_UserRole';
113113

114-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_accessControl
114+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_accessControl
115115
$config['accessControl'][] = array(
116116
'role' => '*',
117117
'resourceType' => '*',
@@ -133,7 +133,7 @@
133133

134134

135135
/*================================ Other Settings =====================================*/
136-
// http://docs.cksource.com/ckfinder3-php/configuration.html
136+
// https://docs.cksource.com/ckfinder3-php/configuration.html
137137

138138
$config['overwriteOnUpload'] = false;
139139
$config['checkDoubleExtension'] = true;
@@ -146,34 +146,34 @@
146146
$config['forceAscii'] = false;
147147
$config['xSendfile'] = false;
148148

149-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_debug
149+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_debug
150150
$config['debug'] = false;
151151

152152
/*==================================== Plugins ========================================*/
153-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_plugins
153+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_plugins
154154

155155
$config['plugins'] = array();
156156

157157
/*================================ Cache settings =====================================*/
158-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_cache
158+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_cache
159159

160160
$config['cache'] = array(
161161
'imagePreview' => 24 * 3600,
162162
'thumbnails' => 24 * 3600 * 365
163163
);
164164

165165
/*============================ Temp Directory settings ================================*/
166-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_tempDirectory
166+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_tempDirectory
167167

168168
$config['tempDirectory'] = sys_get_temp_dir();
169169

170170
/*============================ Session Cause Performance Issues =======================*/
171-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_sessionWriteClose
171+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_sessionWriteClose
172172

173173
$config['sessionWriteClose'] = true;
174174

175175
/*================================= CSRF protection ===================================*/
176-
// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_csrfProtection
176+
// https://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_csrfProtection
177177

178178
$config['csrfProtection'] = true;
179179

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"authors": [
77
{
88
"name": "CKSource",
9-
"homepage": "http://cksource.com"
9+
"homepage": "https://cksource.com"
1010
}
1111
],
1212
"require": {

0 commit comments

Comments
 (0)