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 ^.
I got to thank u for this helper, is helping a lot on my thesis.

---------- 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<#11af62b888b16d1c_standardincubatorlibraryZendDojoViewHelperDojoContainerphp>

Property Changed

   - standard/ <#11af62b888b16d1c_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();-            $localPath =
preg_replace('|dojo[/\\\\]dojo.js[^/\\\\]*$|i', '', $localPath);+
      $localPath =
preg_replace('|[^/\\\\]dojo[/\\\\]dojo.js[^/\\\\]*$|i', '',
$localPath);             $this->_localRelativePath = $localPath;
  }         return $this->_localRelativePath;




-- 
Christian Sánchez A.

Reply via email to