Author: chabotc
Date: Fri May 30 07:32:21 2008
New Revision: 661734
URL: http://svn.apache.org/viewvc?rev=661734&view=rev
Log:
SHINDIG-319 fixes the feature loading on windows
Modified:
incubator/shindig/trunk/php/src/gadgets/JsFeatureLoader.php
Modified: incubator/shindig/trunk/php/src/gadgets/JsFeatureLoader.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/JsFeatureLoader.php?rev=661734&r1=661733&r2=661734&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/JsFeatureLoader.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/JsFeatureLoader.php Fri May 30
07:32:21 2008
@@ -56,7 +56,7 @@
usort($files, array($this,'sortFeaturesFiles'));
foreach ($files as $file) {
if (!empty($file) && strpos($file,
'feature.xml') !== false && substr($file, 0, 1) != '#' && substr($file, 0, 2)
!= '//') {
- $file = realpath($path.'/../'.$file);
+ $file =
realpath($path.'/../'.trim($file));
$feature = $this->processFile($file);
$features[$feature->name] = $feature;
}