Skip to content

Instantly share code, notes, and snippets.

View raschid's full-sized avatar
💭
I may be slow to respond.

Ralf raschid

💭
I may be slow to respond.
View GitHub Profile
@raschid
raschid / gist:8bb056f6a4bf8cd97175bf95e788a518
Last active December 13, 2017 08:32
In kirby 2.5.7 the panel does not work on shared servers of german provider strato. This fix makes it work
open file kirby/vendor/getkirby/toolkit/lib/url.php
change this (around line 397):
-----------------------------------------------------------------------------
public static function unIdn($url) {
if(!function_exists('idn_to_ascii')) return $url;
// disassemble the URL, convert the domain name and reassemble
$variant = defined('INTL_IDNA_VARIANT_UTS46') ? INTL_IDNA_VARIANT_UTS46 : INTL_IDNA_VARIANT_2003;