ezsystems/ezpublish — pull request #462 by pkamps (2012-10-08 10:51:27+00:00)
Title: ezpgenerateautoloads.php with custom extension directory name

In ezp the default name for the extension folder is "extension". But you can configure a different name in site.ini.

The ezpgenerateautoloads.php is not able to handle a different name for that directory. It's hardcoded to "extension". This pull requests adds a new parameter to the script that allows to specify a custom directory name for the extension folder.

You may ask, why on earth would you rename the extension folder. Well, we're implementing an archive solution with 2 identical ezp installations. Just the content is different:
1) for live content
2) for archive content

We use apache proxy rules to split the traffic of one single domain to the live or archive install. In order to implement those rules we need unique names for the extension folders.