Skip to content

Commit

Permalink
Register the dryden autoloader in spl register to make sure our autol…
Browse files Browse the repository at this point in the history
…oading is used even when phpmailer's spl registered autoloader included for sending out emails. See zpanel/zpanelx#166
  • Loading branch information
Kevin Andrews committed Jul 29, 2014
1 parent 7e7d9e1 commit d11f935
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dryden/loader.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ function __autoload($class_name)
}
}

spl_autoload_register('__autoload');

if (isset($_GET['module'])) {
$CleanModuleName = fs_protector::SanitiseFolderName($_GET['module']);

Expand Down

0 comments on commit d11f935

Please sign in to comment.