mirror of
https://github.com/friendica/friendica
synced 2025-04-27 05:10:10 +00:00
Ensure that the spool path is set
This commit is contained in:
parent
2bfc40d74c
commit
9251d2af6f
2 changed files with 7 additions and 4 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue