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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user