This will be the last release (other than bugfix releases) for the 7.x-1.x series.
The 7.x-2.x series is being written to be easier to use and also to further allow users not to depend on cf_error if they do not want to. (thus making this module an optional dependency wherever possible).
The 7.x-2.x series will contain major structural/api changes and upgrading from 7.x-1.x to 7.x-2.x will require delicate fingers.
Features:
- Add support for dynamically changing the php memory limit at runtime based on a users role, a users uid, or the ip address of a viewer.
- Add cf_current_user() as a forwards compatible function with the upcoming 2.x series in hopes to reduce upgrade problems.
Bugfixes:
- ensure that the array value is a string before comparing for cf_menu module unpublushed access checks.
Example on how to use the new dynamic php memory limit system:
- Append the following to /sites/default/settings.php
/** BEGIN EXAMPLE **/
/**
* Assign memory limits based on uid, role, or ip address.
* Uid has priority over roles.
* IP address has priority over uid and roles.
* Order of operations do apply.
*/
$conf['role_memory_limits'] = array('1' => '96M', '2' => '256M', '3' => '512M');
$conf['user_memory_limits'] = array();
$conf['ip_memory_limits'] = array('127.0.0.1' => '256M');
/** END EXAMPLE **/