Nav apraksta

loader.php 263B

1234567891011121314
  1. <?php
  2. $loader = new \Phalcon\Loader();
  3. /**
  4. * We're a registering a set of directories taken from the configuration file
  5. */
  6. $loader->registerDirs(
  7. [
  8. $config->application->controllersDir,
  9. $config->application->modelsDir
  10. ]
  11. )->register();