Feature #5138
Replace the harcoded path in courses/XXX/index.php
Start date:
04/07/2012
Due date:
% Done:
100%
Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?
Description
The index.php has something like that:
<?php $cidReq = "PHYPA2"; $dbname = "PHYPA2"; include("/var/www/formascience/main/course_home/course_home.php"); ?>
we should replace that using the api_get_path, or using the htaccess file
Related issues
History
Updated by Yannick Warnier over 8 years ago
Why not simply use (for now) include dirname(FILE).'/../../main/course_home/course_home.php'; ?
Updated by Yannick Warnier about 4 years ago
- Category set to Documents
- Status changed from New to Feature implemented
- Target version changed from 2.0 to 1.11.4
- % Done changed from 0 to 100
index.php has been removed in 1.11.0 (in favor of a .htaccess redirect)