Index: autoload.php
===================================================================
--- autoload.php	(revision 23375)
+++ autoload.php	(working copy)
@@ -119,4 +119,9 @@
     spl_autoload_register( array( 'ezcBase', 'autoload' ) );
 }
 
+if ( defined( 'EZP_AUTOLOAD_PREPEND' )
+{
+    require 'autoload_prepend.php';
+}
+
 ?>
\ No newline at end of file
Index: config.php-RECOMMENDED
===================================================================
--- config.php-RECOMMENDED	(revision 23375)
+++ config.php-RECOMMENDED	(working copy)
@@ -109,4 +109,10 @@
        spl_autoload_register( 'fooAutoload' );
    </code>
 */
+
+/*
+    Set EZP_AUTOLOAD_PREPEND constant to enable the processing of the 
+    autoload_prepend.php which is direcly executed after autoloading.
+*/
+//define( 'EZP_AUTOLOAD_PREPEND', true );
 ?>
