SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000723SiT!otherpublic2009-06-09 20:182011-06-04 17:18
Assigned Toivan 
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000723: Get away from hardcoding /etc/sit.conf
DescriptionAs this makes it difficult to run multiple instances of SiT! on the same server and also these includes make no sense on Windows.

Ideally this should be a config variable though we need to be loaded before including (obviously) and the place we have for this at the moment is which is included afterwards.

My suggestion would be that you can optionally include a sit_config_location.conf (or similar named file) in inc which defaults includes (if it exists) which can declare this variable if its not set then we could default to /etc/sit.conf.
TagsNo tags attached.
Attached Files

- Relationships
related to 0000724resolvedpaulh Remove webtrack.conf include 

-  Notes
User avatar (0001172)
kieran (administrator)
2009-06-10 09:23

I wasn't sure which of the two bugs to add this comment to, this one seems okay though.

Confirming this based on the problems we have installing SiT on

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/etc/sit.conf) is not within the allowed path(s): (/tmp:/var/sites) in /var/sites/s/ on line 85
User avatar (0001173)
ivan (administrator)
2009-06-10 11:42

maybe we should just use in the sit directory, and if somebody wants to use another file they can put include('/etc/sit-other-file.php'); or whatever into that file.
User avatar (0003839)
ivan (administrator)
2011-06-04 17:18

Solution via already, see notes.

- Issue History
Date Modified Username Field Change
2009-06-09 20:18 paulh New Issue
2009-06-09 20:19 paulh Projection none => minor fix
2009-06-09 20:19 paulh ETA none => < 1 day
2009-06-10 09:23 kieran Note Added: 0001172
2009-06-10 09:23 kieran Status new => confirmed
2009-06-10 11:40 ivan Relationship added related to 0000724
2009-06-10 11:42 ivan Note Added: 0001173
2011-06-04 17:18 ivan Note Added: 0003839
2011-06-04 17:18 ivan Status confirmed => closed
2011-06-04 17:18 ivan Assigned To => ivan
2011-06-04 17:18 ivan Resolution open => no change required

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker