From: Phil D. <ph...@lo...> - 2015-01-22 04:38:18
|
I used this to do the whole lot in one go, I figured it would be too risky to do it manually as I would have missed some for sure. May help you blast the remaining ones in your modified code. >find /usr/share/nginx/html/webERP/ -type f -name "*.php" -name "*.inc" -exec sed -i -e '/.*[dD][bB]_[Qq]uery.*,.*/s/$db//g' {} \; where /usr/share/nginx/html/webERP/ is the path to my working copy. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 22/01/15 03:03, Andrew Galuski wrote: > It will be a large effort on my part (Especially identifying all my modifications I have that may not be in the main trunk (Like the picking, packing, shipping functionality that is separate from Invoicing) > Quick question, If I still call DB_Query() in code with the $db parameter and the include file doesn't expect it will I get a hard error or a warning? > > Best Regards, > Andrew Galuski > > > -----Original Message----- > From: Phil Daintree [mailto:ph...@lo...] > Sent: Tuesday, January 20, 2015 11:38 PM > To: webERP Developers > Subject: [WebERP-developers] New version > > Rafael suggested we go for a new version recently. > We last released in October - I thought it was more recent than that. > There are a few bug fixes in there and a whole load of work I did to change the DB_query() calls to exclude the global $db in them. Would be interested to know what others think about another release now? > > -- > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |