initial commit
This commit is contained in:
4
webroot/js/globalsettings.js
Normal file
4
webroot/js/globalsettings.js
Normal file
@@ -0,0 +1,4 @@
|
||||
var url = $(location).attr('hostname');
|
||||
var folder_path = window.location.pathname.split('/').slice(0, 2).join('/');
|
||||
|
||||
var __SERVER_URL__ = 'http://'+url+folder_path+'/';
|
||||
Reference in New Issue
Block a user