diff --git a/.htaccess b/.htaccess index c371257..951195d 100644 --- a/.htaccess +++ b/.htaccess @@ -13,9 +13,9 @@ # RewriteBase / - # enforce HTTPS - RewriteCond %{ENV:HTTPS} !=on - RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] + # rewrite codesigned.de alternative domain + RewriteCond %{SERVER_NAME} codesigned.de + RewriteRule .* https://codesignd.de%{REQUEST_URI} [R=301,L] # rewrite /favicon.ico RewriteRule ^favicon.ico$ assets/img/favicon.ico [L] diff --git a/site/plugins/qdated.php b/site/plugins/qdated.php index b441b0d..30b3a68 100644 --- a/site/plugins/qdated.php +++ b/site/plugins/qdated.php @@ -7,7 +7,7 @@ * @return string */ function qdated() { - $path = $_SERVER['HOME'] . DS . '.qdated-current'; + $path = $_SERVER['HOME'] . '/.config/qdated/cddmail2/current'; if(!is_file($path)) return null; return 'dated-' . trim(f::read($path)) . '@' . url::host();