When downloading zip package from here and trying out examples it spits out this warning. This can be easily solved by not using NetteLoader at all and use composer autoload instead as in web-project and sandbox. It's not a problem since you have to do composer update even with the original approach.
Issue can be easily solved by substituting
// Load Nette Framework
if (@!include __DIR__ . '/../../../Nette/loader.php') {
die('Install Nette using `composer update`');
}
with
require __DIR__ . '/../vendor/autoload.php';
Issue is easily reproducable by doing these steps:
I feel like it may have some side effects or break some intended behaviour, thus would not open PR but issue where we can have some discussion about this. Let me know if i should make PR.
When downloading zip package from here and trying out examples it spits out this warning. This can be easily solved by not using NetteLoader at all and use composer autoload instead as in web-project and sandbox. It's not a problem since you have to do composer update even with the original approach.
Issue can be easily solved by substituting
with
Issue is easily reproducable by doing these steps:
and opening browser at http://localhost:800/www/index.php
I feel like it may have some side effects or break some intended behaviour, thus would not open PR but issue where we can have some discussion about this. Let me know if i should make PR.