This commit is contained in:
the-djmaze 2022-11-18 09:58:32 +01:00
parent 867b7081f6
commit ebaf92a2f0

View file

@ -235,7 +235,12 @@ class Utils
public static function WebVersionPath() : string
{
return self::WebPath() . \str_replace(APP_INDEX_ROOT_PATH, '', APP_VERSION_ROOT_PATH);
return self::WebPath() . 'snappymail/v/' . APP_VERSION . '/';
/**
* TODO: solve this to support other paths.
* https://github.com/the-djmaze/snappymail/issues/685
*/
// return self::WebPath() . \str_replace(APP_INDEX_ROOT_PATH, '', APP_VERSION_ROOT_PATH);
}
public static function WebStaticPath(string $path = '') : string