Include php code in site.ini.append.php

Include php code in site.ini.append.php

Friday 11 March 2011 3:54:58 am - 1 reply

Author Message

André R.

Friday 11 March 2011 4:51:24 am

you can not use includes, file_get_contents is used to read file as is to not allow any code to run by design.
You can however use ActiveAccessExtensions to specify a settings extension for these siteaccesses, but be aware that this was buggy prior to 4.4.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.