Add NAMESPACE support (not activated, but just needed to add the namespace on top of file)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2
http.php
2
http.php
@@ -25,7 +25,7 @@ class http
|
||||
if (!isset ($userchoices[0]))
|
||||
{
|
||||
if ($default === FALSE)
|
||||
throw new Exception ("No user choice provided to bestChoice", 500);
|
||||
throw new \Exception ("No user choice provided to bestChoice", 500);
|
||||
return $default;
|
||||
}
|
||||
// Remove weights (provided by the order of the user)
|
||||
|
||||
Reference in New Issue
Block a user