Closed bleistivt closed 8 years ago
Closed by #98
It says to use de-DE.php
instead of de.php
.
Any reason you used de.php
?
I based this on https://github.com/vanilla/locales where they have a new de
locale and marked de-DE as deprecated.
The merge borked my 2.1 install.
Is it because of the locale?
I assumed you were targeting 2.2, because you merged #89 which requires 2.2
I did test it (against a 2.2 install) but I didn't fully read your PR notes.
I wanted to support 2.1 in case of a protracted 2.2 beta period like 2.1.
Guess I should just have 1.1 target 2.2.
if you want to release a new version earlier, it could also be rewritten to
// Save the uploaded image
$Parts = $Upload->SaveAs($TmpImage, 'yaga' . DS . $ImageBaseName);
$RelativeUrl = StringBeginsWith($Parts['Url'], Gdn_Url::WebRoot(TRUE), TRUE, TRUE);
if (method_exists('Gdn_Request', 'UrlDomain')) {
$AssetRoot = Gdn::Request()->UrlDomain(TRUE).Gdn::Request()->AssetRoot();
$RelativeUrl = StringBeginsWith($Parts['Url'], $AssetRoot, TRUE, TRUE);
}
Yaga 1.1 will not support 2.1.