title: Impossible to read files inside a dirctory
body: <p>I have an error appear in strict mode? I look the path of the directory, it's correct. I try to put all files in 777 but same problem.</p>
  
  <p>It seems this line is not read :</p>
  
  <pre><code>@dir(Core::getConfig('dir_root', 'Shop') . 'includes/modules/security_check/')
  </code></pre>
  
  <p>The error generated</p>
  
  <pre><code>    string(8) "extended" 
      Warning: include(/........./config_file_catalog.php): failed to open stream: No such file or directory in /......./SecurityCheck.php on line 75
  
      Warning: include(): Failed opening '/......./config_file_catalog.php' for inclusion 
  
  (include_path='.:/usr/share/php') in /....../SecurityCheck.php on line 75
  </code></pre>
  
  <p>the code :</p>
  
  <pre><code>  if ($secdir = @dir(Core::getConfig('dir_root', 'Shop') . 'includes/modules/security_check/')) {
      while ($file = $secdir-&gt;read()) {
        if (!is_file(Core::getConfig('dir_root') . 'includes/modules/security_check/' . $file)) {
          if (substr($file, strrpos($file, '.')) == $file_extension) {
            $secmodules_array[] = $file;
          }
        }
      }
      sort($secmodules_array);
      $secdir-&gt;close();
    }
  </code></pre>