mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
use __DIR__
This commit is contained in:
parent
a77699549b
commit
a6eb8e1c45
@ -7,7 +7,7 @@
|
|||||||
* @package Redisent
|
* @package Redisent
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once dirname(__FILE__) . '/Redisent.php';
|
require_once __DIR__ . '/Redisent.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A generalized Redisent interface for a cluster of Redis servers
|
* A generalized Redisent interface for a cluster of Redis servers
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Third- party apps may have already loaded Resident from elsewhere
|
// Third- party apps may have already loaded Resident from elsewhere
|
||||||
// so lets be careful.
|
// so lets be careful.
|
||||||
if(!class_exists('Redisent', false)) {
|
if(!class_exists('Redisent', false)) {
|
||||||
require_once dirname(__FILE__) . '/../Redisent/Redisent.php';
|
require_once __DIR__ . '/../Redisent/Redisent.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Third- party apps may have already loaded Resident from elsewhere
|
// Third- party apps may have already loaded Resident from elsewhere
|
||||||
// so lets be careful.
|
// so lets be careful.
|
||||||
if(!class_exists('RedisentCluster', false)) {
|
if(!class_exists('RedisentCluster', false)) {
|
||||||
require_once dirname(__FILE__) . '/../Redisent/RedisentCluster.php';
|
require_once __DIR__ . '/../Redisent/RedisentCluster.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user