paths.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. /*
  3. *---------------------------------------------------------------
  4. * Framework paths
  5. *---------------------------------------------------------------
  6. *
  7. * This is a much more beautiful way then using defines in the
  8. * framework init. Also it allows us for example running
  9. * multiple apps using just one core.
  10. */
  11. return array(
  12. /*
  13. *---------------------------------------------------------------
  14. * public path = PUBLICPATH
  15. *---------------------------------------------------------------
  16. *
  17. * The public directory wich should be accessable through your
  18. * web server on your browser.
  19. */
  20. 'public' => CCROOT.'public/',
  21. /*
  22. *---------------------------------------------------------------
  23. * CCF path = CCFPATH
  24. *---------------------------------------------------------------
  25. *
  26. * The path to the framework directory. In the default use case
  27. * this conatins the app, core, orbit and vendor. But also
  28. * the storage uses this path to set his default store direcotry.
  29. */
  30. 'ccf' => CCROOT.'CCF/',
  31. /*
  32. *---------------------------------------------------------------
  33. * App path = APPPATH
  34. *---------------------------------------------------------------
  35. *
  36. * The app directory contains the main application. This define
  37. * can be useful if you like to switch between apps.
  38. */
  39. 'app' => CCROOT.'CCF/app/',
  40. /*
  41. *---------------------------------------------------------------
  42. * Core path = COREPATH
  43. *---------------------------------------------------------------
  44. *
  45. * The core directory contains of course the CCF core.
  46. * Changing this can be useful if you have multiple
  47. * installations that should use the same core.
  48. *
  49. * @todo: take this back to CCF/core/ when the composer installer
  50. * issue is fixed.
  51. */
  52. 'core' => CCROOT.'CCF/core/',
  53. /*
  54. *---------------------------------------------------------------
  55. * Orbit path = ORBITPATH
  56. *---------------------------------------------------------------
  57. *
  58. * The orbit directory contains the most installed ships.
  59. * Changing this can be useful if you have multiple
  60. * installations that should use the same orbit packages.
  61. */
  62. 'orbit' => CCROOT.'CCF/orbit/',
  63. /*
  64. *---------------------------------------------------------------
  65. * Vendor path = VENDORPATH
  66. *---------------------------------------------------------------
  67. *
  68. * The vendor directory contains the composer packages.
  69. */
  70. 'vendor' => CCROOT.'CCF/vendor/',
  71. );