mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-16 09:18:42 +00:00
Added setRootPath
This commit is contained in:
parent
70fba3147d
commit
278c35d7d2
|
|
@ -186,6 +186,12 @@
|
|||
this.base = this.scheme + '://' + this.host;
|
||||
};
|
||||
|
||||
jsOMS.Uri.Http.prototype.setRootPath = function(rootPath)
|
||||
{
|
||||
this.root = rootPath;
|
||||
this.set(this.uri);
|
||||
};
|
||||
|
||||
jsOMS.Uri.Http.prototype.getBase = function()
|
||||
{
|
||||
return this.base;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user