Download & Extend

Call to undefined function file_exits => should be file_exists

Project:Public Download Count
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

In publdlcnt.php on line 50:

if (!file_exits('./includes/bootstrap.inc')) {
    // We can not locate the bootstrap.inc file, let's give up using the
    // script and just fetch the file
    header('Location: ' . $_GET['file']);
    exit;
  }

Should be file_exists()

Comments

#1

Thanks for the bug info.

I will fix it with the next release. I did not notice it since this is the code which is not usually used, and only comes here when PDC module can not work as expected.

Regards,

nobody click here