Skip to content

Commit afb6dd8

Browse files
authored
Update tutorial-basic.md
Remove the parent traversal from the Autoloader code snippet. This is removed in the main example listing further down in the document and is incorrect.
1 parent 47ad89d commit afb6dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial-basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ To start, let's register our app's `controllers` and `models` directories using
7777

7878
use Phalcon\Autoload\Loader;
7979

80-
define('BASE_PATH', dirname(__DIR__ . '/..'));
80+
define('BASE_PATH', dirname(__DIR__));
8181
define('APP_PATH', BASE_PATH . '/app');
8282
// ...
8383

0 commit comments

Comments
 (0)