pquery.config.php 900 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * Base and plugin config for pQuery utility framework.
  4. *
  5. * @package pQuery
  6. */
  7. /**
  8. * Indicates whether the framework is in debug mode, which right
  9. * now only means that occuring errors will be displayed or not.
  10. *
  11. * @var bool
  12. */
  13. define('DEBUG', true);
  14. /**
  15. * The root location of the pQuery framework folder, used for file
  16. * inclusions. The path is absolute and should end with a slash ('/').
  17. *
  18. * @var string
  19. */
  20. define('PQUERY_ROOT', 'D:/xampp/htdocs/pquery/');
  21. /**
  22. * Abstract class containing plugin configs.
  23. */
  24. abstract class pQueryConfig {
  25. /**
  26. * Indicates whether errors occuring in the framework will
  27. * terminate the script.
  28. *
  29. * @var bool
  30. */
  31. const ERROR_IS_FATAL = true;
  32. /**
  33. * Config for MySQL plugin.
  34. *
  35. * @var array
  36. */
  37. static $sql = array(
  38. 'host' => 'localhost',
  39. 'username' => 'root',
  40. 'password' => '',
  41. 'dbname' => 'tcms2'
  42. );
  43. }
  44. ?>