diff --git a/lockfile.php b/lockfile.php index 91d1154..f58e83d 100644 --- a/lockfile.php +++ b/lockfile.php @@ -18,7 +18,8 @@ class lockfile if (!is_dir (dirname ($this->storagelock))) @mkdir (dirname ($this->storagelock)); if (!is_dir (dirname ($this->storagelock))) - throw new Exception ("Can't create '".dirname ($this->storagelock)."'", + throw new Exception ("Can't create '".dirname ($this->storagelock). + "' directory for lockfile", 500); $lockid = uniqid() . '_' . md5 (mt_rand()); $startTime = microtime (TRUE);