diff options
| author | Horus3 | 2014-03-11 23:34:20 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-11 23:34:20 +0100 |
| commit | ca3d504428d053e3c344cafdefc7f7836f39dd1c (patch) | |
| tree | ee60fa2b445f1e4da347ef992cd08886c231f691 /www/select_function.php | |
| parent | 9ed369355660f41919e9eb0086e73c7589cd0dcf (diff) | |
| download | files.iamfabulous.de-ca3d504428d053e3c344cafdefc7f7836f39dd1c.tar.gz | |
nginx config with error handling
Diffstat (limited to 'www/select_function.php')
| -rw-r--r-- | www/select_function.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/select_function.php b/www/select_function.php index 6e4bc66..0421b58 100644 --- a/www/select_function.php +++ b/www/select_function.php @@ -41,7 +41,8 @@ function select($db){ } $prim_id = $parentdir_db->fetchArray(SQLITE3_NUM); if($parentdir != $prim_id[1]){ - failure("This folder doesn't exist. Folder: " . $folder_array_unsafe[$i]); + $wrong_folder = $folder_array_unsafe[$i]; + failure("This folder doesn't exist. Folder: " . $wrong_folder); } $parentdir = $prim_id[0]; |
