Path Patch

11 views
Skip to first unread message

Timbo

unread,
Jul 6, 2009, 5:02:24 PM7/6/09
to wwwsqldesigner
I've uploaded a patch to the files section that adds two options to
the config.js file:

STATIC_PATH - points to the root wwwsqldesigner location from which
static files can be found
XHR_PATH - points to the base location where wwwsqldesigner should
look to when doing server requests.

The above options can be left out of the config file with no adverse
effect. Their contents should always end in a slash (/) since they
merely act as a prefix for the pre-existing paths.

For example: I have mine variables set to:
STATIC_PATH:"/admin/static/wwwsqldesigner/",
XHR_PATH:"/admin/editor/"

The purpose of this patch is allow wwwsqldesigner to be served
dynamically from a different base URL than it's supporting CSS and JS
files. And also to look to a different than what it is served from to
do server requests.

Cheers,
-tim

Ondrej Zara

unread,
Jul 7, 2009, 2:11:11 AM7/7/09
to wwwsqld...@googlegroups.com
Hi,

thanks for your contribution. I slightly simplified your code and commited in to code repository.



Sincerely,
Ondrej Zara


2009/7/6 Timbo <tfar...@swgen.com>

Timothy Farrell

unread,
Jul 7, 2009, 8:34:12 AM7/7/09
to wwwsqld...@googlegroups.com
Thanks,

Two pairs of eyes are better than one.

-tim

Ondrej Zara wrote:
> Hi,
>
> thanks for your contribution. I slightly simplified your code and
> commited in to code repository.
>
>
>
> Sincerely,
> Ondrej Zara
>
>
> 2009/7/6 Timbo <tfar...@swgen.com <mailto:tfar...@swgen.com>>
Reply all
Reply to author
Forward
0 new messages