Skip to content
Snippets Groups Projects
  • Michael Hamann's avatar
    92faea0e
    Load plugins using include_once instead of include · 92faea0e
    Michael Hamann authored
    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.
    92faea0e
    History
    Load plugins using include_once instead of include
    Michael Hamann authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.