summaryrefslogtreecommitdiff
path: root/lib/plugins/info
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-09-09 13:04:24 +0200
committerMichael Hamann <michael@content-space.de>2012-09-09 13:04:24 +0200
commit92faea0e5fc27ca47d6fa6c18b1da1d6b6cac4a0 (patch)
tree1133c37c709da51b17fc12d8cb10e040f914ee0e /lib/plugins/info
parentbaf1d9a01127509f8f14cf4b6754a9eea0f1277a (diff)
downloadrpg-92faea0e5fc27ca47d6fa6c18b1da1d6b6cac4a0.tar.gz
rpg-92faea0e5fc27ca47d6fa6c18b1da1d6b6cac4a0.tar.bz2
Load plugins using include_once instead of include
The problem with using include is that when the file that is loaded does not contain the plugin class (e.g. because the directory name is wrong), the file could be loaded again when the plugin class is requested a second time which will lead to a fatal error because of class redeclaration.
Diffstat (limited to 'lib/plugins/info')
0 files changed, 0 insertions, 0 deletions