diff options
Diffstat (limited to 'examples/detect.php')
-rw-r--r-- | examples/detect.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/detect.php b/examples/detect.php index dc4a17a..83d7eec 100644 --- a/examples/detect.php +++ b/examples/detect.php @@ -443,10 +443,9 @@ $out = $r->start($title) . $body = ''; -$_file1 = include 'Auth/OpenID.php'; -$_file2 = include 'Auth/OpenID/BigMath.php'; +$_include = include 'Auth/OpenID.php'; -if (!($_file1 && $_file2)) { +if (!$_include) { $path = ini_get('include_path'); $body .= $r->p( 'Cannot find the OpenID library. It must be in your PHP include ' . |