diff options
author | Michael Hamann <michael@content-space.de> | 2012-09-09 13:04:24 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2012-09-09 13:04:24 +0200 |
commit | 92faea0e5fc27ca47d6fa6c18b1da1d6b6cac4a0 (patch) | |
tree | 1133c37c709da51b17fc12d8cb10e040f914ee0e /lib/plugins/testing | |
parent | baf1d9a01127509f8f14cf4b6754a9eea0f1277a (diff) | |
download | rpg-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/testing')
0 files changed, 0 insertions, 0 deletions