User profile
Profile of tom1 Post since 16/11/2007 15:36, name
Recent Posts by tom
16/11/2007 16:30
|
Get Help → hard coded paths |
Regarding the hard coded path, I've managed to have egs not at the root of apache. Here is the little script I used, not sure it is doing the full job, because I was just having a quick look at egs. Maybe it can be a starting point. !/bin/shfind . -name ".php" | xargs sed 's//?action//egs/?action/g' -i find . -name ".php" | xargs sed 's//?module//egs/?module/g' -i find . -name ".js" | xargs sed 's//?action//egs/?action/g' -i find . -name ".js" | xargs sed 's//?module//egs/?module/g' -i find . -name ".tpl" | xargs sed 's//?action//egs/?action/g' -i find . -name ".tpl" | xargs sed 's//?module//egs/?module/g' -i find . -name ".tpl" | xargs sed 's//app///egs/app//g' -i find . -name ".tpl" | xargs sed 's//themes///egs/themes//g' -i find . -name "*.tpl" | xargs sed 's//data///egs/data//g' -i sed 's/$url='''/'''/$url='''/egs/'''/g' lib/classes/implementations/EGSLinkBuilder.php -i sed 's/'''/?'''/'''/egs/?'''/g' lib/smarty/custom_plugins/block.form.php -i find . -name "*.js" | xargs sed 's/'''/?'''/'''/egs/?'''/g' -i (used a svn checkout) Thomas |