Closed (fixed)
Project:
Signwriter
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2007 at 20:47 UTC
Updated:
6 May 2008 at 03:01 UTC
The documentation of the signwriter module claims that $profile->cachedir can be overridden in the theme after loading the profile. Since revision 1.6 of the module file this is not possible any more. Therefore its also not possible to use the module without configuring (as described in the documentation in example 2) and use a non default cachedir.
To solve this problem line 492 can be changed from
$cachedir = variable_get('signwriter_cachedir', 'signwriter-cache');
to
$cachedir = _singwriter_get_val($profile->cachedir, variable_get('signwriter_cachedir', 'signwriter-cache'));
Comments
Comment #1
almich commentedSorry, there is a typing error in the above code. This should be the right version:
$cachedir = _signwriter_get_val($profile->cachedir, variable_get('signwriter_cachedir', 'signwriter-cache'));Comment #2
nterbogt commentedA code refactor must have introduced this issue and we just missed it.
Thanks for your response, and this is now in the development release for the 5.x branch. A new release should be out soon.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.