diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/init.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/init.php b/tools/init.php index 162350c..f3c39ce 100644 --- a/tools/init.php +++ b/tools/init.php @@ -1,11 +1,11 @@ <?php -function url_exists( $baselink = NULL ) { - if( empty( $baselink ) ){ +function url_exists( $url = NULL ) { + if( empty( $url ) ){ return false; } - $ch = curl_init( $baselink ); + $ch = curl_init( $url ); // Set a timeout curl_setopt( $ch, CURLOPT_TIMEOUT, 5 ); |