Automatically exported from code.google.com/p/planningalerts
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

config.php.svn 1.1 KiB

18 yıl önce
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /* Includes for all pages*/
  3. require_once ("smarty/Smarty.class.php");
  4. require_once ("scraper_support.php");
  5. /* Config vars */
  6. //Database
  7. define ("DB_CONNECTION_STRING", 'mysql://root:@localhost/planning');
  8. //Smarty
  9. define ("SMARTY_COMPILE_DIRECTORY", '/data/vhost/planning/data/');
  10. define ("SMARTY_TEMPLATE_DIRECTORY", 'templates');
  11. define ("SMARTY_PATH", '');
  12. //PEAR
  13. define ("PEAR_LOCATION", 'PEAR');
  14. //URL Stuff
  15. define ("BASE_URL", 'http://localhost.planning');
  16. define ("DOMAIN", 'planningalerts.com');
  17. //Scrape method (Curl vs PEAR HTTP)
  18. define ("SCRAPE_METHOD", 'PEAR');
  19. //Size of alert areas
  20. define ("SMALL_ZONE_SIZE", '200');
  21. define ("MEDIUM_ZONE_SIZE", '800');
  22. define ("LARGE_ZONE_SIZE", '2000');
  23. define ("ZONE_BUFFER_PERCENTAGE", '5');
  24. //Email setup
  25. define ("EMAIL_FROM_ADDRESS", 'planningbot@planningalerts.com');
  26. define ("EMAIL_FROM_NAME", 'PlanningAlerts.com');
  27. //Scraper params
  28. define ("SCRAPE_DELAY", '5');
  29. define ("LOG_EMAIL", 'richard@memespring.co.uk');
  30. //Google maps key
  31. define ("GOOGLE_MAPS_KEY", 'ABQIAAAA74qlSxRXDySLggVC9lWIbBQeWac_qjVnPmH5iTpTixX1E2xfnBR9X0On0aXuFhRdSPx42Pz0LmJzhQ');
  32. ?>