Web Interfaces of PROSUME

paths.php 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  4. * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  5. *
  6. * Licensed under The MIT License
  7. * Redistributions of files must retain the above copyright notice.
  8. *
  9. * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  10. * @link https://cakephp.org CakePHP(tm) Project
  11. * @since 3.0.0
  12. * @license MIT License (https://opensource.org/licenses/mit-license.php)
  13. */
  14. /**
  15. * Use the DS to separate the directories in other defines
  16. */
  17. if (!defined('DS')) {
  18. define('DS', DIRECTORY_SEPARATOR);
  19. }
  20. /**
  21. * These defines should only be edited if you have cake installed in
  22. * a directory layout other than the way it is distributed.
  23. * When using custom settings be sure to use the DS and do not add a trailing DS.
  24. */
  25. /**
  26. * The full path to the directory which holds "src", WITHOUT a trailing DS.
  27. */
  28. define('ROOT', dirname(__DIR__));
  29. /**
  30. * The actual directory name for the application directory. Normally
  31. * named 'src'.
  32. */
  33. define('APP_DIR', 'src');
  34. /**
  35. * Path to the application's directory.
  36. */
  37. define('APP', ROOT . DS . APP_DIR . DS);
  38. /**
  39. * Path to the config directory.
  40. */
  41. define('CONFIG', ROOT . DS . 'config' . DS);
  42. /**
  43. * File path to the webroot directory.
  44. *
  45. * To derive your webroot from your webserver change this to:
  46. *
  47. * `define('WWW_ROOT', rtrim($_SERVER['DOCUMENT_ROOT'], DS) . DS);`
  48. */
  49. define('WWW_ROOT', ROOT . DS . 'webroot' . DS);
  50. /**
  51. * Path to the tests directory.
  52. */
  53. define('TESTS', ROOT . DS . 'tests' . DS);
  54. /**
  55. * Path to the temporary files directory.
  56. */
  57. define('TMP', ROOT . DS . 'tmp' . DS);
  58. /**
  59. * Path to the logs directory.
  60. */
  61. define('LOGS', ROOT . DS . 'logs' . DS);
  62. /**
  63. * Path to the cache files directory. It can be shared between hosts in a multi-server setup.
  64. */
  65. define('CACHE', TMP . 'cache' . DS);
  66. /**
  67. * The absolute path to the "cake" directory, WITHOUT a trailing DS.
  68. *
  69. * CakePHP should always be installed with composer, so look there.
  70. */
  71. define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendor' . DS . 'cakephp' . DS . 'cakephp');
  72. /**
  73. * Path to the cake directory.
  74. */
  75. define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
  76. define('CAKE', CORE_PATH . 'src' . DS);