Move image and icons into images folder
Move the files out of the root and bundle into a folder A separate icons folder is kept to make clear that the license is for all files in that folder Change-Id: I0c8d346c84215cfa567db9017639466e75df2b24
之前 宽度: | 高度: | 大小: 68 B 之后 宽度: | 高度: | 大小: 68 B |
之前 宽度: | 高度: | 大小: 1.1 KiB 之后 宽度: | 高度: | 大小: 1.1 KiB |
之前 宽度: | 高度: | 大小: 1.0 KiB 之后 宽度: | 高度: | 大小: 1.0 KiB |
之前 宽度: | 高度: | 大小: 82 B 之后 宽度: | 高度: | 大小: 82 B |
之前 宽度: | 高度: | 大小: 1.0 KiB 之后 宽度: | 高度: | 大小: 1.0 KiB |
之前 宽度: | 高度: | 大小: 926 B 之后 宽度: | 高度: | 大小: 926 B |
之前 宽度: | 高度: | 大小: 1.5 KiB 之后 宽度: | 高度: | 大小: 1.5 KiB |
之前 宽度: | 高度: | 大小: 1.2 KiB 之后 宽度: | 高度: | 大小: 1.2 KiB |
|
@ -642,7 +642,7 @@ class SpecialCentralAuth extends SpecialPage {
|
|||
Html::element(
|
||||
'img', [
|
||||
'src' => $this->getConfig()->get( 'ExtensionAssetsPath' )
|
||||
. "/CentralAuth/icons/merged-{$method}.png",
|
||||
. "/CentralAuth/images/icons/merged-{$method}.png",
|
||||
'alt' => $brief,
|
||||
'title' => $brief,
|
||||
]
|
||||
|
|
|
@ -656,7 +656,7 @@ class SpecialCentralAutoLogin extends UnlistedSpecialPage {
|
|||
if ( $ok && $this->getConfig()->get( 'CentralAuthLoginIcon' ) && $type === 'icon' ) {
|
||||
readfile( $this->getConfig()->get( 'CentralAuthLoginIcon' ) );
|
||||
} else {
|
||||
readfile( __DIR__ . '/../../1x1.png' );
|
||||
readfile( __DIR__ . '/../../images/1x1.png' );
|
||||
}
|
||||
} elseif ( $type === 'json' ) {
|
||||
header( 'Content-Type: application/json; charset=utf-8' );
|
||||
|
|