Needs work
Project:
QR Codes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2010 at 06:59 UTC
Updated:
28 Oct 2010 at 19:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
IncrediblyKenzi commentedHere's a patch that allows the directory within files to be set. I've opted to omit the /tmp functionalitiy, since that somewhat changes the nature of the cache.
Comment #2
levelos commentedLooks good to me.
Comment #3
IncrediblyKenzi commentedUpdated.. found a bug on line 94 after enabling the block.
Comment #4
IncrediblyKenzi commentedCommitted to 6.x-dev branch.
Comment #5
claudiu.cristeaToo fast guys... I wanted to make some review on the code... :)
Why not letting the patch some days for testing and review?
Comment #6
IncrediblyKenzi commentedHappy to slow down. loubabe gave me a greenlight on it, so we went ahead with it.
Comment #7
claudiu.cristeaIf we decide to let custom cache directory... we do not have to force it to be under "files". /tmp or /home/myuser/cache should be acceptable too. Default value to variable_get() should be "files/qr_codes" in that case. "#field_prefix" should be removed. Check what is changing in other places...
Hmmm. IMO inconsistent RegExp. What about dot (".")? What about other filesystem special chars?
Should be:
}
else {
according to Drupal Coding Standards (see http://drupal.org/coding-standards#controlstruct)
Powered by Dreditor.