소스 검색

Add test for allow_url_fopen

tags/0.6
Chris Smith 14 년 전
부모
커밋
6b766f738c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      test.php

+ 1
- 0
test.php 파일 보기

@@ -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…
취소
저장