Permalink
Browse files

Exception namespace

  • Loading branch information...
1 parent ecc7150 commit 31c08f421349f197ecb5be5e35c82eb42f280c6c @cdujeu cdujeu committed Sep 22, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/access.smb/smb.php
@@ -208,7 +208,7 @@ public function client ($params, $purl)
// common error
if (strstr($error, "command not found")!==false) {
fclose($pipes[1]);
- throw new Exception($error);
+ throw new \Exception($error);
} else if (strstr($error, "domain")!==false && strstr($error, "os")!==false ) {
self::debug("Smbclient alternate stream : ".$error);
} else {

0 comments on commit 31c08f4

Please sign in to comment.