pquery.config.php 998 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. * Name of the utilities folder
  34. *
  35. * @var string
  36. */
  37. const UTILS_FOLDER = 'utils/';
  38. /**
  39. * Config for MySQL plugin.
  40. *
  41. * @var array
  42. */
  43. static $sql = array(
  44. 'host' => 'localhost',
  45. 'username' => 'root',
  46. 'password' => '',
  47. 'dbname' => 'tcms2'
  48. );
  49. }
  50. ?>