pquery.config.php 830 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 inclusions.
  16. *
  17. * @var string
  18. */
  19. define('PQUERY_ROOT', 'D:/xampp/htdocs/pquery/');
  20. /**
  21. * Indicates whether errors occuring in the framework will
  22. * terminate the script.
  23. *
  24. * @var bool
  25. */
  26. define('ERROR_IS_FATAL', true);
  27. /**
  28. * Abstract class containing plugin configs.
  29. */
  30. abstract class Config {
  31. /**
  32. * Config for MySQL plugin.
  33. *
  34. * @var array
  35. */
  36. static $sql = array(
  37. 'host' => 'localhost',
  38. 'username' => 'root',
  39. 'password' => '',
  40. 'dbname' => 'tcms2'
  41. );
  42. }
  43. ?>