Chevereto 2.2.2 (2012-06-22) release notes
- Fixed bug in viewer page (not working viewer/direct switch)
- Fixed bug in API (not working selectable storage)
- Added CloudFlare workaround to get the real user IP
Update from 2.2.1 | Affected files & folders
- api.php
- includes/config.php (*)
- includes/chevereto.php
- includes/functions.php
- content/system/js/peafowl.php
Download Chevereto 2.2.2
The change in config.php is the add of this code (only care about this if you are using CloudFlare):
- Fixed bug in viewer page (not working viewer/direct switch)
- Fixed bug in API (not working selectable storage)
- Added CloudFlare workaround to get the real user IP
Update from 2.2.1 | Affected files & folders
- api.php
- includes/config.php (*)
- includes/chevereto.php
- includes/functions.php
- content/system/js/peafowl.php
Download Chevereto 2.2.2
The change in config.php is the add of this code (only care about this if you are using CloudFlare):
Code:
/*** CloudFlare IP workaround ***/
// Uncomment this line if you are using CloudFlare
//$_SERVER['REMOTE_ADDR'] = (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) ? $_SERVER["HTTP_CF_CONNECTING_IP"] : $_SERVER["REMOTE_ADDR"];