Merge pull request #2 in ZP/z-push from feature/ZP-632-allow-to-replace-config to develop
ZP-632 * commit '61453208': Allow to create own entrypoint / index.php with unmodified z-push sources If you use composer or upstream git repo as sub-project you cant modify config.php to your needs. Patch allows to create an own index.php as follows: <?php define('ZPUSH_CONFIG', __DIR__.'/config.php'); $_SERVER['SCRIPT_FILENAME'] = realpath(__DIR__.'/../vendor/zarafa/zpush2/index.php'); chdir('../vendor/zarafa/zpush2'); include('../vendor/zarafa/zpush2/src/index.php');
Showing
Please register or sign in to comment