|
1 | 1 | <?php |
2 | 2 | /** |
3 | | - * @link http://www.yiiframework.com/ |
| 3 | + * @link https://www.yiiframework.com/ |
4 | 4 | * @copyright Copyright (c) 2008 Yii Software LLC |
5 | | - * @license http://www.yiiframework.com/license/ |
| 5 | + * @license https://www.yiiframework.com/license/ |
6 | 6 | */ |
7 | 7 |
|
8 | 8 | namespace yii\build\controllers; |
|
16 | 16 | * MimeTypeController generates a map of file extensions to MIME types. |
17 | 17 | * |
18 | 18 | * It uses `mime.types` file from apache http located under |
19 | | - * http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup |
| 19 | + * https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup |
20 | 20 | * |
21 | 21 | * This file has been placed in the public domain for unlimited redistribution, |
22 | 22 | * so we can use it and ship it with Yii. |
@@ -67,7 +67,7 @@ public function actionIndex($outFile = null, $aliasesOutFile = null) |
67 | 67 | } |
68 | 68 |
|
69 | 69 | $this->stdout('Downloading mime-type file from apache httpd repository...'); |
70 | | - if ($apacheMimeTypesFileContent = file_get_contents('http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=co')) { |
| 70 | + if ($apacheMimeTypesFileContent = file_get_contents('https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=co')) { |
71 | 71 | $this->stdout("Done.\n", Console::FG_GREEN); |
72 | 72 | $this->generateMimeTypesFile($outFile, $apacheMimeTypesFileContent); |
73 | 73 | $this->generateMimeAliasesFile($aliasesOutFile); |
@@ -113,7 +113,7 @@ private function generateMimeTypesFile($outFile, $content) |
113 | 113 | * This file contains most commonly used MIME types |
114 | 114 | * according to file extension names. |
115 | 115 | * Its content is generated from the apache http mime.types file. |
116 | | - * http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup |
| 116 | + * https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup |
117 | 117 | * This file has been placed in the public domain for unlimited redistribution. |
118 | 118 | */ |
119 | 119 | return $array; |
|
0 commit comments