larsiusprime / crashdumper

A cross-platform automated crash report generator/sender for Haxe/OpenFL apps.
MIT License
113 stars 33 forks source link

If report directory different, no details available in crashdump server #37

Open mastef opened 8 years ago

mastef commented 8 years ago

Since the report directory is hardcoded to ../report in the api/details.php call, the details won't ever appear if the report directory differs from the default. https://github.com/larsiusprime/crashdumper/blob/master/servers/crashdumpbrowser/api/detail.php#L26

Fix : switch all instances of ../report in details.php with REPORT_DIR defined in https://github.com/larsiusprime/crashdumper/blob/master/servers/crashdumpbrowser/includes/constants.inc.php#L5