docs
docs copied to clipboard
BASE_PATH in documentation may be inaccurate
The BASE_PATH
in Phalcon tutorial https://docs.phalconphp.com/en/3.4/tutorial-base is inaccurate.
define('BASE_PATH', dirname(__DIR__));
Based on directory structure used with index.php
in public
dir BASE_PATH
should be
define('BASE_PATH', dirname(__DIR__ . '/..'));
cc @emiliodeg Can you please have a look ?