Skip to content

Commit

Permalink
fix unable to send mail in 2.4.2 on non-windows server
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Jan 18, 2018
1 parent 5a5063d commit dc1a167
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -94,7 +94,8 @@ public static function autoload($class)
return;
}

$path = __DIR__.'/'.str_replace('_', '/', $class).'.php';
$file = str_replace('\\', DIRECTORY_SEPARATOR, $class);
$path = __DIR__.'/'.str_replace('_', '/', $file).'.php';

if (!file_exists($path)) {
return;
Expand Down

0 comments on commit dc1a167

Please sign in to comment.