pquery.config.php 1.1 KB

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