View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009383 | mantisbt | webpage | public | 2008-07-13 19:22 | 2008-08-11 09:41 |
Reporter | Max_well | Assigned To | grangeway | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Apache/2.2.3 PHP/5.2.0-8+etch11 | OS | Linux | OS Version | 2.6.18.1 |
Product Version | 1.2.0a1 | ||||
Fixed in Version | 1.2.0a2 | ||||
Summary | 0009383: Wrong URL directory path computed (CSS & images and JS not accessible) | ||||
Description | When installed on the root of a domain, mantis fail to correctly compute the url path, corrupting the path of css, images and javascript (pages search for '//css/default.css' instead of '/css/default.css'). The file config_defaults_inc.php contains the following code : Extract the unique directory path of this file relative to the server's documunt rootif ( preg_match( '@'.$t_docroot.'(.*)@', $t_file_path, $t_matches ) ) { which should be replaced by : Extract the unique directory path of this file relative to the server's documunt rootif ( preg_match( '@'.$t_docroot.'(.*)@', $t_file_path, $t_matches ) ) { | ||||
Steps To Reproduce | Install Mantis on the root of a domain name (ie. http://mantis.foo.org/). | ||||
Tags | No tags attached. | ||||