mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 09:03:09 +01:00
PHP 5.2 compatibility for [30310], __DIR__ wasn't added until PHP 5.3. Props TobiasBg. Fixes #29628
git-svn-id: https://develop.svn.wordpress.org/trunk@30311 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
14d164397a
commit
e542c7f7b6
@ -903,4 +903,4 @@ if ( ! $mod_sockets && function_exists( 'dl' ) && is_callable( 'dl' ) ) {
|
|||||||
$mod_sockets = extension_loaded( 'sockets' );
|
$mod_sockets = extension_loaded( 'sockets' );
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once __DIR__ . "/class-ftp-" . ( $mod_sockets ? "sockets" : "pure" ) . ".php";
|
require_once dirname( __FILE__ ) . "/class-ftp-" . ( $mod_sockets ? "sockets" : "pure" ) . ".php";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user