From: Phil D. <ph...@lo...> - 2014-10-20 04:29:49
|
Agreed - I've reversed this. In the words of Jeremy Clarkson ... "How hard can it be" ... to copy a few scripts over! Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 20/10/14 06:48, Rafael Chacón wrote: > Hi, > > I do not know if that could help you. > I my case, sometimes I need customizations (e.g. to fulfill local tax > authority, like invoice printer's name and address on invoices) and > some clients like customizations (e.g. different format for their > documents). Some of them made too fast to be properly done and tested > for a general version.Later, if that customizations can be part of a > general version, I include them (e.g. commented "imprint" in > PrintCustTransPortrait.php, or sales/pruchases invoice quantity in > Tax.php). > > Regards, Rafael. > > 2014-10-19 8:54 GMT-06:00 Pak Ricard <pak...@gm... > <mailto:pak...@gm...>>: > > Hi all: > > Sorry, but I've been thinking.... and now I'm doubting of the real > use of this change: > > If we code this mod to select the "standard" webERP script or a > "private modified" one, we still should merge our private > modifications into the mainstream webERP script, from time to time > (normally at every version release) so, which is the real > advantage to this? > > For me the real pain is merging the files but, If we still need to > merge the changes, what's the real point to have the scripts in > one folder or another? Or am I missing the whole point? > > > > Regards, > Ricard > > 2014-10-19 5:33 GMT+08:00 Phil Daintree <ph...@lo... > <mailto:ph...@lo...>>: > > Well we use > > htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') > > everywhere else - if there is a hard coded script name then > normally it > is not the same script - if you see one that should be > htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') > then do let > me know. > > Thanks > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > <tel:%2B64%20%280%29275%20567890> > http://www.logicworks.co.nz > > On 19/10/14 05:48, rfthomas wrote: > > Most scripts call themselves multiple times. Instead of > calling the script > > by hard code the $_SERVER['SCRIPT_NAME'] variable should be > used. > > > > Such would replace hard coding the script name when calling > the script > > again. > > > > Could a coding standard be developed? I would be happy to > work on this. > > > > Bob Thomas > > > > > > > > -- > > View this message in context: > http://weberp-accounting.1478800.n4.nabble.com/Easing-update-pain-tp4657722p4657728.html > > Sent from the web-ERP-developers mailing list archive at > Nabble.com. > > > > > ------------------------------------------------------------------------------ > > Comprehensive Server Monitoring with Site24x7. > > Monitor 10 servers for $9/Month. > > Get alerted through email, SMS, voice calls or mobile push > notifications. > > Take corrective actions from your mobile device. > > http://p.sf.net/sfu/Zoho > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > <mailto:Web...@li...> > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push > notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push > notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |