imgbi / img.bi

img.bi main website
GNU General Public License v3.0
194 stars 29 forks source link

Add prefix for local storage #66

Open rugk opened 8 years ago

rugk commented 8 years ago

Fixes https://github.com/imgbi/img.bi/issues/65

However I admit that it is not nice that getFullStorage still returns the values prefixed, but it is only used once in the Controller, so it was the easiest (hackish) method to just use the already existent loop there to remove the prefix. If you'll fix this in a better way I have nothing against it! :smiley:

Possibly it would also be a good idea to make "imgbi_" a (global) variable, so that a server admin can change it if it is suitable.