Jump to content

file_exists and WireHttp


Frank Vèssia
 Share

Recommended Posts

Hello gyus, I recently update one website from pw 2.7 to 3.0.10 and I'm getting a strange error, the code is this one
 


$check_vid = $config->paths->root."video/111.mp4";
if ( file_exists($check_vid)){
   do things
}

I get this error
 


Fatal error: Exception: Download URLs must begin with http:// or https:// (in /home/disinibi/public_html/tube/wire/core/WireHttp.php line 576)

any Idea why it's trying to download the file?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...