-- Christian Sanchez <[EMAIL PROTECTED]> wrote (on Saturday, 05 July 2008, 11:35 PM -0500): > Matthew, I'm sorry to insist in this error, but I see you changed the line to: > > $localPath = preg_replace('|[^/\\\\]dojo[/\\\\]dojo.js[^/\\\\]*$|i', '', > $localPath); > > When there seems to be no reason to not (^) look for the character (/) > or (\) the line should have been: > > > $localPath = preg_replace('|[/\\\\]dojo[/\\\\]dojo.js[^/\\\\]*$|i', '', > $localPath); > > > I guess my text was a bit misleading because this /\ may look a lot like ^.
Too many leaning toothpicks. :) Should be correct in svn now. > I got to thank u for this helper, is helping a lot on my thesis. Your thesis? what are you working on? > ---------- Forwarded message ---------- > From: matthew <[EMAIL PROTECTED]> > Date: 2008/7/5 > Subject: [framework-svn][9961] standard: [EMAIL PROTECTED]: matthew | > 2008-07-05 > 22: 19:48 -0400 > To: [EMAIL PROTECTED] > > > > Revision > 9961 > Author > matthew > Date > 2008-07-05 19:20:23 -0700 (Sat, 05 Jul 2008) > > Log Message > > [EMAIL PROTECTED]: matthew | 2008-07-05 22:19:48 -0400 > * Updated _getLocalRelativePath() (per report from Christian Sanchez on > fw-general) > > Modified Paths > > • standard/incubator/library/Zend/Dojo/View/Helper/Dojo/Container.php > > Property Changed > > • standard/ > > Diff > > Property changes: standard > > Name: svk:merge > - 33008bc5-088a-4725-8053-8b13bfceb19a:/local/framework/standard:20420 > + 33008bc5-088a-4725-8053-8b13bfceb19a:/local/framework/standard:20427 > > Modified: standard/incubator/library/Zend/Dojo/View/Helper/Dojo/Container.php > (9960 => 9961) > > --- standard/incubator/library/Zend/Dojo/View/Helper/Dojo/Container.php > 2008-07-05 22:29:14 UTC (rev 9960) > +++ standard/incubator/library/Zend/Dojo/View/Helper/Dojo/Container.php > 2008-07-06 02:20:23 UTC (rev 9961) > @@ -490,7 +490,7 @@ > { > if (null === $this->_localRelativePath) { > $localPath = $this->getLocalPath(); > [DEL:- $localPath = > preg_replace('|dojo[/\\\\]dojo.js[^/\\\\]*$|i', '', $localPath); > :DEL][INS:+ $localPath = > preg_replace('|[^/\\\\]dojo[/\\\\]dojo.js[^/\\\\]*$|i', '', $localPath); > :INS] $this->_localRelativePath = $localPath; > } > return $this->_localRelativePath; > > > > > -- > Christian S nchez A. -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/