1
0
mirror of https://github.com/til-schneider/slim-wiki.git synced 2025-10-21 19:46:08 +02:00

Renamed $appPath to $basePath (analog to $baseUrl)

This commit is contained in:
til-schneider
2015-12-21 09:17:48 +01:00
parent 4d253598ba
commit ec191181cb
2 changed files with 13 additions and 13 deletions

View File

@@ -5,10 +5,10 @@ require_once __DIR__ . '/../lib/parsedown/Parsedown.php';
class Main {
// Parameters:
// - $baseUrl: E.g. 'http://localhost/slim-wiki/'
// - $appPath: E.g. '/slim-wiki'
// - $baseUrl: E.g. 'http://localhost/slim-wiki/'
// - $basePath: E.g. '/slim-wiki/'
// - $requestPathArray: E.g. array('myfolder', 'mypage')
public function dispatch($baseUrl, $appPath, $requestPathArray) {
public function dispatch($baseUrl, $basePath, $requestPathArray) {
$articleBaseDir = realpath(__DIR__ . '/../../articles');
$articleFilename = $articleBaseDir . '/' . implode('/', $requestPathArray);