From: Pak R. <pak...@gm...> - 2014-01-03 09:23:31
|
Hi: in config table we store just the relative path from webERP base "companies/mycompanyname/part_pics" A quick search and: SystemParameters.php: Needs to convert the data entry for part_pics_dir into a text (as user can enter any URL) In GoodsReceived.php line 164 should be deleted the $RootPath . '/' part In PO_items.php line 1221, 1222 should be deleted the $RootPath . '/' part Besides that I think we are done. Am I overlooking at details, or are we on the right path? I'm a bit afraid of this kind of small changes with wide consequences Regards, Ricard 2014/1/3 Phil Daintree <ph...@lo...> > Hi Ricard, > > Does it work just changing to an absolute address? I think it should... > without looking. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890http://www.logicworks.co.nz > > On 02/01/14 16:11, Pak Ricard wrote: > > Hi all: > > I have been investigating a bit about increase of page loading time and it > seems like we can improve it if we store images in a subdomain. I attach > some links I found about it: > http://css-tricks.com/images-on-a-subdomain/ > > http://www.techinfoblog.net/host-images-on-sub-domain-to-increase-page-load-speed-of-your-wordpress-blog/ > > http://www.inmotionhosting.com/support/edu/opencart/319-using-a-subdomain-to-store-your-images-in-opencart > > http://cathyreisenwitz.com/blog/2010/11/15/image-seo-host-images-on-subdomain-or-subfolder/ > > With more and more scripts in webERP using images, I wonder if it makes > sense we study this option. > > I thing the only change in webERP should be changing the > $_SESSION['part_pics'] to a absolute address instead of relative, but not > sure if there are problems related to the use of absolute addresses > > We should be able to access images in paths like: > $_SESSION['part_pics'] = "http://images.mydomain.com/" > $_SESSION['part_pics'] = "http://images.mydomain.com/webERP" > $_SESSION['part_pics'] = "http://images.anotherdomain.com/" > > Does it make sense to you? > > Regards, > Ricard > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |