[OpenLayers-Trac] [OpenLayers] #1563: inclusion of openlayers.js using themes

OpenLayers trac at openlayers.org
Mon Jun 2 07:57:02 EDT 2008


#1563: inclusion of openlayers.js using themes
-------------------------------+--------------------------------------------
  Reporter:  beachwalker       |       Owner:            
      Type:  bug               |      Status:  new       
  Priority:  trivial           |   Milestone:            
 Component:  general           |     Version:  2.6       
Resolution:                    |    Keywords:  theme, css
     State:  Needs Discussion  |  
-------------------------------+--------------------------------------------
Comment (by crschmidt):

 For the record, the fact that your webserver is not case sensitive is not
 the default: the majority of web browsers (that is, anything on Linux) are
 case sensitive, and (more importantly) URLs are absolutely case sensitive:
 OpenLayers.js and openlayers.js are *not* the same, and embedding logic in
 the code that assumes they are seems like a mistake.

 Instead, just do this:

 OpenLayers._scriptName = "openlayers.js";

 This will update the OL code to know what your script name is.

 There is no reason to change the code: change your application to use the
 settings that exist.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1563#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list