Activity for PHP DataBase Model

  • Dutch Coder Dutch Coder posted a comment on a wiki page

    include_once 'plugins/' . $plugin_name . '.plugin.php'; Duplicated line 87 in the file dbm.lib.php, why??? for the lines 86 and 87 you can use include() as it's faster for example: if(file_exists('plugins/' . $plugin_name . '.plugin.php')) { include 'plugins/' . $plugin_name . '.plugin.php'; } else { // Do something else here... $file_error = 'Sorry, there was an error: Couldn't include the file, file not found'; }

1
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.