Skip to content

Commit

Permalink
Rename some constant and use now WEB_ROOT instead of SITEROOT with re…
Browse files Browse the repository at this point in the history
…lative path
  • Loading branch information
Loenix committed Dec 4, 2020
1 parent ce659b8 commit 5c86b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rest/Controller/RestApiWadlController.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class RestApiWadlController extends HTTPController {
const TAG_DOC = 'doc';
const TAG_REPRESENTATION = 'representation';
const MIMETYPE_JSON = 'application/json';
const ENDPOINT_URL = SITEROOT . 'api';
const ENDPOINT_URL = WEB_ROOT . 'api';
/**
* @var object
*/
Expand Down

0 comments on commit 5c86b60

Please sign in to comment.