Mike Rockett Posted September 18, 2014 Share Posted September 18, 2014 Greets For the site I'm busy developing, I'm about to get to the part where I need to use pagination. I noticed in PW 2.5 that $config->pageNumUrlPrefix no longer exists in config.php Any reason as to why this is the case? And I'm assuming it will still work, right? Link to comment Share on other sites More sharing options...
Martijn Geerts Posted September 18, 2014 Share Posted September 18, 2014 It has become crowded in that file, so I guess Ryan decided to move that one to the config in wire. You still can use that setting. If you want to change it, it's recommended to put it in /site/config.php. This way PW upgrades won't overwrite that setting. 1 Link to comment Share on other sites More sharing options...
ryan Posted September 18, 2014 Share Posted September 18, 2014 Actually pretty much everything has been moved to /wire/config.php, leaving /site/config.php exclusively for things that you want to modify from the defaults. You'll notice that /site/config.php pretty much contains nothing now other than debug and the settings added by the installer. However, any config property can still be modified from your /site/config.php file. See the /wire/config.php for a full reference of all possible properties you can customize. 1 Link to comment Share on other sites More sharing options...
Mike Rockett Posted September 18, 2014 Author Share Posted September 18, 2014 That's what I thought - because one wouldn't just get rid of a whole bunch of settings. Thanks guys. 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