Guest User

Untitled

a guest
Jul 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. ## Application.config.php loaded by Solar::start() in index.php
  2.  
  3. <?php
  4.  
  5. /* Set global configuration here */
  6. $config['Solar']['ini_set']['display_errors'] = false;
  7.  
  8.  
  9. /**
  10. * Load configuration for this environment
  11. */
  12. $envConfig = CONFIG_PATH . '/Application.' . APP_ENV . '.config.php';
  13. if (file_exists($envConfig)) {
  14. include_once $envConfig;
  15. }
  16.  
  17.  
  18. /**
  19. * done!
  20. */
  21. return $config;
  22.  
  23.  
  24. ## Application.development.config.php
  25.  
  26. <?php
  27.  
  28. /* Inherit from production */
  29. include_once CONFIG_PATH . '/Application.production.config.php';
  30.  
  31. $config['Solar']['ini_set']['display_errors'] = true;
Add Comment
Please, Sign In to add comment