aboutsummaryrefslogtreecommitdiffstats
path: root/mod/setup.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-25 20:06:33 -0800
committerfriendica <info@friendica.com>2013-02-25 20:06:33 -0800
commitc45a8e27638592fc89826097efe07ded31f3c50a (patch)
tree6ff76724684ff36d327afb7a7b4fcd06ce11de4d /mod/setup.php
parent46a89910aea43d0af6ace66de315fff87ee2d53a (diff)
downloadvolse-hubzilla-c45a8e27638592fc89826097efe07ded31f3c50a.tar.gz
volse-hubzilla-c45a8e27638592fc89826097efe07ded31f3c50a.tar.bz2
volse-hubzilla-c45a8e27638592fc89826097efe07ded31f3c50a.zip
make sure old fetch_url calls (and those that provided their own curl wrapper) go through z_fetch_url
Diffstat (limited to 'mod/setup.php')
-rwxr-xr-xmod/setup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/setup.php b/mod/setup.php
index b05b0cec3..37bb572f9 100755
--- a/mod/setup.php
+++ b/mod/setup.php
@@ -467,8 +467,8 @@ function check_htaccess(&$checks) {
$status = true;
$help = "";
if (function_exists('curl_init')){
- $test = fetch_url($a->get_baseurl()."/setup/testrewrite");
- if ($test!="ok") {
+ $test = z_fetch_url($a->get_baseurl()."/setup/testrewrite");
+ if ((! $test['success']) || ($test['body'] != "ok")) {
$status = false;
$help = t('Url rewrite in .htaccess is not working. Check your server configuration.');
}