summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 78dc769..119b1d5 100644
--- a/it_url.class
+++ b/it_url.class
@@ -513,7 +513,7 @@ function get_cache($p = array())
@mkdir(dirname($path));
if (!is_writable(dirname($path)))
- it::error(dirname($path) . " not writable");
+ it::error("parent dir not writable: " . trim(it::exec('ls -ld {dir} 2>&1', ['dir' => dirname($path)])));
if ($filemtime = it_url::_expired($path, $p['maxage'])) # Outdated(non-zero int) or non-existant(true)?
{