Ensure that the spool path is set
This commit is contained in:
@@ -27,7 +27,7 @@ function spool_post_run($argv, $argc) {
|
||||
|
||||
$path = get_spoolpath();
|
||||
|
||||
if (is_writable($path)){
|
||||
if (($path != '') AND is_writable($path)){
|
||||
if ($dh = opendir($path)) {
|
||||
while (($file = readdir($dh)) !== false) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user