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.
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.