Browse Source

Add test for allow_url_fopen

tags/0.6
Chris Smith 14 years ago
parent
commit
6b766f738c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      test.php

+ 1
- 0
test.php View File

@@ -56,6 +56,7 @@
56 56
 
57 57
  echo '<tr><th colspan="2">Poidsy requirements</th></tr>';
58 58
  doTest('PHP Version', version_compare(PHP_VERSION, '5.2.0', '>='), 'Poidsy requires PHP version 5.2.0 or greater to run');
59
+ doTest('Allow_url_fopen', ini_get('allow_url_fopen'), 'Poidsy requires allow_url_fopen to be configured to true');
59 60
 
60 61
  echo '<tr><th colspan="2">Associate mode requirements</th></tr>';
61 62
  doTest('hash_hmac function', function_exists('hash_hmac'), 'Poidsy requires the hash_hmac function to use associate mode. It should be available in PHP 5.2.0 or greater, unless you\'ve explicitly disabled it when compiling PHP');

Loading…
Cancel
Save