Commit 79ba6f3d authored by Marc Duez's avatar Marc Duez
Browse files

conf.js : optional file

parent a8cc74c9
......@@ -49,7 +49,7 @@ Segment.prototype = {
* */
init : function(){
if (config && config.cgi_adress){
if (typeof config != 'undefined' && config.cgi_adress){
this.cgi_adress = config.cgi_adress
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment