mapgears / scribeui

http://scribeui.org
MIT License
28 stars 15 forks source link

local.ini needs an option for the cgi-bin url #112

Closed samuellapointe closed 9 years ago

samuellapointe commented 9 years ago

By default, ScribeUI looks for the cgi-bin folder on http://localhost:port/cgi-bin/proxy.cgi. The local.ini file needs an option to set the url to the cgi-bin folder.

samuellapointe commented 9 years ago

Fixed in 66780714042c6791bc4bc1bbb7b310c8353bb48e

samuellapointe commented 9 years ago

To do this, I replaced the $WSNAME javascript global variable by a $SETTINGS global object containing the wsname and cgibin_url attributes. The MainView class in scribeui_pyramid/modules/main/views.py no longer returns 'workspace'. Instead, it returns the settings in json and regular format.