mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-27 08:46:44 +03:00
Resolve #685
This commit is contained in:
parent
867b7081f6
commit
ebaf92a2f0
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue