How do
-
use
Legacy Route Loader
at Migrating an Existing Application to Symfony, not the simper oneFront Controller with Legacy Bridge
. -
dolibarr global vars are defined before require dolibarr script. Why?
-
use error_reporting to ignore E_DEPRECATEDit does not work, maybe reason is Dolibarr also uses error_reporting.
Start
just a basic test, no support of css/js/png/...
php bin/console cache:clear
symfony.exe server:start
curl http://localhost:8000/user/card.php
# or if DOLIBARR_STYLE_URL=0
curl http://localhost:8000/user/card
.js.php
, .css.php
?
To support png/css and see Solution 2 in nginx-vagrant/readme.md
Err?
route not found?
php bin/console cache:clear
todo
- find a way to define all dolibarr global vars in
loadLegacyScript
- Symfony $type = 8192; $message = "Array and string offset access syntax with curly braces is deprecated"