Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 0630df6

Browse files
author
Jamie Snape
committed
Use absolute paths in core configuration file
1 parent c27408b commit 0630df6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/configs/core.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
; MIDAS Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
[global]
4-
bootstrap.path = "./core/Bootstrap.php"
4+
bootstrap.path = BASE_PATH "/core/Bootstrap.php"
55
bootstrap.class = "Bootstrap"
6-
resources.frontController.controllerDirectory = "./core/controllers"
7-
resources.frontController.moduleDirectory = "./modules"
8-
resources.layout.layoutPath = "./core/layouts"
6+
resources.frontController.controllerDirectory = BASE_PATH "/core/controllers"
7+
resources.frontController.moduleDirectory = BASE_PATH "/modules"
8+
resources.layout.layoutPath = BASE_PATH "/core/layouts"
99
resources.modules[] = ""
10-
resources.view.scriptPath = "./core/views"
10+
resources.view.scriptPath = BASE_PATH "/core/views"
1111
internationalization = "0"
1212
rest.default = "json"
1313
rest.formats[] = "xml"

0 commit comments

Comments
 (0)