engines/file.php
expandonline - April 3, 2009 - 09:30
| Project: | Cache Router |
| Version: | 6.x-1.0-beta8 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Line 15 engines/file.php creates a PHP error about undefined arrays as the specific bins are not defined.
replaced code block with:
<?php
// Assign the path on the following order: bin specific -> default specific -> /tmp/filepath
if (isset($conf['cacherouter'][$bin]['path'])) {
$this->fspath = $conf['cacherouter'][$bin]['path'];
}
elseif (isset($conf['cacherouter']['default']['path'])) {
$this->fspath = $conf['cacherouter']['default']['path'];
}
?>which seems to work

#1
Here's the patch file:
#2
Fixed in latest cvs commit. Thank you!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.