Author: dr
Date: Fri Jan  4 09:44:58 2008
New Revision: 7066

Log:
- Fixed issue #11448: ezc_bootsrap.php uses relative paths. 
#- Impossible to test with test cases, but I ran all possibilities against
#  the eZ Components site.

Modified:
    trunk/Base/ChangeLog
    trunk/Base/src/ezc_bootstrap.php

Modified: trunk/Base/ChangeLog
==============================================================================
--- trunk/Base/ChangeLog [iso-8859-1] (original)
+++ trunk/Base/ChangeLog [iso-8859-1] Fri Jan  4 09:44:58 2008
@@ -1,7 +1,8 @@
-1.5alpha1 - [RELEASEDATE]
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-- Implemented issue #12316: Numbers in own component prefix not possible.
+1.4.1 - [RELEASEDATE]
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Fixed issue #11448: ezc_bootsrap.php uses relative paths. 
+- Fixed issue #12316: Numbers in own component prefix not possible.
 
 
 1.4 - Monday 17 December 2007

Modified: trunk/Base/src/ezc_bootstrap.php
==============================================================================
--- trunk/Base/src/ezc_bootstrap.php [iso-8859-1] (original)
+++ trunk/Base/src/ezc_bootstrap.php [iso-8859-1] Fri Jan  4 09:44:58 2008
@@ -13,11 +13,13 @@
 
 if ( $dirParts[count( $dirParts ) - 1] === 'src' )
 {
-    require 'Base/src/base.php'; // svn, bundle
+    $baseDir = join( DIRECTORY_SEPARATOR, array_slice( $dirParts, 0, -2 ) );
+    require $baseDir . '/Base/src/base.php'; // svn, bundle
 }
 else if ( $dirParts[count( $dirParts ) - 2] === 'ezc' )
 {
-    require 'ezc/Base/base.php'; // pear
+    $baseDir = join( DIRECTORY_SEPARATOR, array_slice( $dirParts, 0, -2 ) );
+    require $baseDir . '/ezc/Base/base.php'; // pear
 }
 else
 {


-- 
svn-components mailing list
svn-components@lists.ez.no
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to