Dez 2, 2009
Wechseln von Doctrine to Doctrine_Core mit einem Befehl
Um deinen Code von Doctrine auf Doctrine_Core umzustellen kannst du folgenden Befehl verwenden
1 | for fl in `find apps/ config/ lib/ test/ -name *.php`; do mv $fl $fl.old; sed 's/Doctrine::/Doctrine_Core::/g' $fl.old > $fl; rm -f $fl.old; done |
Wenn du ein Plugin hast benutze folgenden Befehl
1 | for fl in `find . -name *.php`; do mv $fl $fl.old; sed 's/Doctrine::/Doctrine_Core::/g' $fl.old > $fl; rm -f $fl.old; done |
No related posts.
Ähnliche Artikel bereitgestellt von Yet Another Related Posts Plugin.











Do be careful with just pasting that command as it will just wipe out your files
. You need to change the > into a greater than sign first!
thank you i have fix it.