title: SQLite query isn't working from other PHP file
body: <p>I have strange issue. When I am running file Database/connectDatabase.php:</p>
  
  <pre><code>&lt;?php
  $db = new PDO('sqlite:database.db') or die("fail to connect db");
  $qry = $db-&gt;prepare("SELECT * FROM user WHERE name=? AND pass=?");
  $qry-&gt;execute(array("a", "a")) or die;
  </code></pre>
  
  <p>it's working.
  But if I use it in file LoginSystem/registration.php:</p>
  
  <pre><code>define('__ROOT__', dirname(dirname(__FILE__)));
  require_once(__ROOT__.'/Database/connectDatabase.php');
  </code></pre>
  
  <p>it's thrownig: "Fatal error: Call to a member function execute() on boolean in .../Database/connectDatabase.php on line 4"</p>