[ASTPPCOM-257] Database Download Created: 03/Nov/17 Updated: 01/Apr/21 Resolved: 01/Apr/21 |
|
| Status: | Closed |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | alexheylin | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Fails because the function is passed the file name without the full path. web_interface/astpp/application/modules/systems/controllers/systems.php $result_array = $result->result_array (); if ($result->num_rows () > 0) { $path = $result_array [0] ['path']; // For some reason we're getting just the file name - so fix this up $path = '/var/www/html/astpp/database_backup/' . $path ; $filename = basename ( $path ); $len = filesize ( $path ); |
| Comments |
| Comment by Samir Doshi [ 03/Nov/17 ] |
|
We used variable in place of static path. |