Closed smichaelsen closed 9 years ago
At the moment this is the suggested way (in index.php.example) to set the project root:
index.php.example
$_ENV['AppZap\PHPFramework\ProjectRoot'] = dirname(__FILE__);
Maybe we find a smarter solution
If we cannot get rid of it, at least change dirname(__FILE__) to __DIR__, available sind PHP 5.3.
dirname(__FILE__)
__DIR__
At the moment this is the suggested way (in
index.php.example
) to set the project root:$_ENV['AppZap\PHPFramework\ProjectRoot'] = dirname(__FILE__);
Maybe we find a smarter solution