stand-ground Posted May 13, 2018 Share Posted May 13, 2018 I'm a bit confused. I'm creating a "theme"/"template" in site/templates/ which will take advantage of delayed output. Why is the following placed in site/config.php instead of site/templates/config.php? $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; Link to comment Share on other sites More sharing options...
bernhard Posted May 13, 2018 Share Posted May 13, 2018 hi @stand-ground and welcome to the forum, 4 minutes ago, stand-ground said: Why is the following placed in site/config.php instead of site/templates/config.php? Because these options are a site-wide config setting and site-wide config settings are placed in the config file, which is stored as /site/config.php - That's how pw is built. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now