Subversion Repositories oidplus

Rev

Blame | Last modification | View Log | RSS feed

  1. <?php
  2.  
  3. error_reporting(E_ALL | E_NOTICE | E_DEPRECATED | E_STRICT);
  4.  
  5. // Note: There may not be a function include_all(), otherwise, global variables (e.g. for caching) cannot be used in the included units.
  6.  
  7. // Load Core Stuff
  8. foreach (sorted_glob(__DIR__ . '/../core/*.php') as $filename) include_once $filename;
  9.  
  10. // Load Search Providers
  11. // Load Authentification Providers
  12. // Load Field Extenders
  13. foreach (sorted_glob(__DIR__ . '/../plugins/*/*.php') as $filename) include_once $filename;
  14.  
  15. # ---
  16.  
  17. function sorted_glob($mask) {
  18.         $files = glob($mask);
  19.         sort($files);
  20.         return $files;
  21. }
  22.