javascript and css includes point to wrong directory

Bug #501449 reported by Ryan Ahearn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GolfStats
Fix Released
Critical
Ryan Ahearn

Bug Description

All src links for javascript and css refer to the root directory, not relative paths. This is fine for the case where everything is installed at apache's docroot, but not if it is installed next to a couple of other sites.

Related branches

Revision history for this message
Ryan Ahearn (ryan-c-ahearn) wrote :

Critical as every deployment not installed at the docroot is completely broken.

Changed in golfstats:
importance: Undecided → High
assignee: nobody → Ryan Ahearn (ryan-c-ahearn)
importance: High → Critical
milestone: none → 0.3.1
status: New → Confirmed
Revision history for this message
Ryan Ahearn (ryan-c-ahearn) wrote :

All the <a> links are also incorrectly referring to docroot.

Revision history for this message
Ryan Ahearn (ryan-c-ahearn) wrote :

To fix, introduce a configuration php page included every place it is needed. Any per-deployment information should be defined there.

So far, this includes:
doc root
ui db information (location, username, password)
webservice endpoint information. (wsdl location, username, password)

Changed in golfstats:
status: Confirmed → Fix Committed
Changed in golfstats:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.