projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9404eea
)
CRM-14092 - isBrowsable - Defensive programming
author
Tim Otten
<totten@civicrm.org>
Fri, 7 Feb 2014 00:42:00 +0000
(16:42 -0800)
committer
Tim Otten
<totten@civicrm.org>
Fri, 7 Feb 2014 00:42:00 +0000
(16:42 -0800)
CRM/Utils/Check/Security.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Check/Security.php
b/CRM/Utils/Check/Security.php
index bb076daa75d80e9ac49f7e9182f74a2de9460f12..c08d12046d237f5db8b433280a5207e177b6889f 100644
(file)
--- a/
CRM/Utils/Check/Security.php
+++ b/
CRM/Utils/Check/Security.php
@@
-256,7
+256,7
@@
class CRM_Utils_Check_Security {
* @return bool
*/
public function isBrowsable($dir, $url) {
- if (empty($dir) || empty($url)) {
+ if (empty($dir) || empty($url)
|| !is_dir($dir)
) {
return FALSE;
}