zendframework/zf2 — pull request #2932 by mwillbanks (2012-11-10 15:32:18+00:00)
Title: Sessions: SessionConfig does not allow setting non-directory save path

The StandardConfig defines that the only way to specify a savePath is to utilize a directory. The SessionConfig then requires the savePath to be a directory since it inherits from the StandardConfig.

This pull request is to check in SessionConfig to see if the save_handler option is "files" and issue the set to the parent otherwise to skip checking.

This means it will allow the following use cases:
files => /path/to/directory
sqlite => /path/to/my.db
memcached => sess1:11211, sess2:11211
redis => tcp://0.0.0.0:6379