From: Pak R. <pak...@gm...> - 2014-10-19 14:55:37
|
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...>: > 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 > 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... > > 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 > |