25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Paths.php 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?php
  2. namespace Config;
  3. /**
  4. * Paths
  5. *
  6. * Holds the paths that are used by the system to
  7. * locate the main directories, app, system, etc.
  8. *
  9. * Modifying these allows you to restructure your application,
  10. * share a system folder between multiple applications, and more.
  11. *
  12. * All paths are relative to the project's root folder.
  13. */
  14. class Paths
  15. {
  16. /**
  17. * ---------------------------------------------------------------
  18. * SYSTEM FOLDER NAME
  19. * ---------------------------------------------------------------
  20. *
  21. * This must contain the name of your "system" folder. Include
  22. * the path if the folder is not in the same directory as this file.
  23. *
  24. * @var string
  25. */
  26. public $systemDirectory = __DIR__ . '/../../vendor/codeigniter4/framework/system';
  27. /**
  28. * ---------------------------------------------------------------
  29. * APPLICATION FOLDER NAME
  30. * ---------------------------------------------------------------
  31. *
  32. * If you want this front controller to use a different "app"
  33. * folder than the default one you can set its name here. The folder
  34. * can also be renamed or relocated anywhere on your getServer. If
  35. * you do, use a full getServer path.
  36. *
  37. * @see http://codeigniter.com/user_guide/general/managing_apps.html
  38. *
  39. * @var string
  40. */
  41. public $appDirectory = __DIR__ . '/..';
  42. /**
  43. * ---------------------------------------------------------------
  44. * WRITABLE DIRECTORY NAME
  45. * ---------------------------------------------------------------
  46. *
  47. * This variable must contain the name of your "writable" directory.
  48. * The writable directory allows you to group all directories that
  49. * need write permission to a single place that can be tucked away
  50. * for maximum security, keeping it out of the app and/or
  51. * system directories.
  52. *
  53. * @var string
  54. */
  55. public $writableDirectory = __DIR__ . '/../../writable';
  56. /**
  57. * ---------------------------------------------------------------
  58. * TESTS DIRECTORY NAME
  59. * ---------------------------------------------------------------
  60. *
  61. * This variable must contain the name of your "tests" directory.
  62. *
  63. * @var string
  64. */
  65. public $testsDirectory = __DIR__ . '/../../tests';
  66. /**
  67. * ---------------------------------------------------------------
  68. * VIEW DIRECTORY NAME
  69. * ---------------------------------------------------------------
  70. *
  71. * This variable must contain the name of the directory that
  72. * contains the view files used by your application. By
  73. * default this is in `app/Views`. This value
  74. * is used when no value is provided to `Services::renderer()`.
  75. *
  76. * @var string
  77. */
  78. public $viewDirectory = __DIR__ . '/../Views';
  79. }