Browse files

Updated to the very last version of Snoopy. Solves one potential

bug and deletes some harcoded output.

I've seen that, under 1.5, the old 1.0 version remains. Should we
update it too?
  • Loading branch information...
1 parent 9db357c commit d134c3dc5e4916d46af3f344f3a2451cc92551cd stronk7 committed Oct 2, 2005
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/snoopy/Snoopy.class.inc
View
6 lib/snoopy/Snoopy.class.inc
@@ -137,6 +137,8 @@ class Snoopy
$this->pass = $URI_PARTS["pass"];
if (empty($URI_PARTS["query"]))
$URI_PARTS["query"] = '';
+ if (empty($URI_PARTS["path"]))
+ $URI_PARTS["path"] = '';
switch($URI_PARTS["scheme"])
{
@@ -287,8 +289,8 @@ class Snoopy
$this->pass = $URI_PARTS["pass"];
if (empty($URI_PARTS["query"]))
$URI_PARTS["query"] = '';
-
- print_object($URI_PARTS);
+ if (empty($URI_PARTS["path"]))
+ $URI_PARTS["path"] = '';
switch($URI_PARTS["scheme"])
{

0 comments on commit d134c3d

Please sign in to comment.