runtime-conf.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- This new XML configuration format is the default format for properties
  3. files. You can also used the old INI-based .properties format, but
  4. support for this will be removed in next major Propel version. -->
  5. <config>
  6. <!--
  7. #
  8. # L O G G I N G
  9. #
  10. # We use PEAR-compatible Log for all Propel logging and we embed the
  11. # log conf properties within our application configuration.
  12. #
  13. # type - the type of log (default 'file')
  14. # name - the name of log or path to file. (default './propel.log')
  15. # ident - the text used to identify the log messages
  16. # level - the log level
  17. # PEAR_LOG_EMERG 0
  18. # PEAR_LOG_ALERT 1
  19. # PEAR_LOG_CRIT 2
  20. # PEAR_LOG_ERR 3
  21. # PEAR_LOG_WARNING 4
  22. # PEAR_LOG_NOTICE 5
  23. # PEAR_LOG_INFO 6
  24. # PEAR_LOG_DEBUG 7 <== DEFAULT
  25. -->
  26. <log>
  27. <ident>propel-treetest</ident>
  28. <level>7</level>
  29. </log>
  30. <!--
  31. #
  32. # P R O P E L P R O P E R T I E S
  33. #
  34. # Note that you can configure multiple datasources; for example if your
  35. # project uses several databases.
  36. -->
  37. <propel>
  38. <datasources default="treetest">
  39. <datasource id="treetest">
  40. <!-- the Propel adapter (usually same as phptype of connection DSN) -->
  41. <adapter>sqlite</adapter>
  42. <!-- Connection DSN. See PEAR DSN format for other supported parameters. -->
  43. <connection>
  44. <phptype>sqlite</phptype>
  45. <dsn>sqlite:/var/tmp/treetest.db</dsn>
  46. <username></username>
  47. <password></password>
  48. </connection>
  49. </datasource>
  50. </datasources>
  51. </propel>
  52. </config>