mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
use __DIR__
This commit is contained in:
parent
a77699549b
commit
a6eb8e1c45
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
// Third- party apps may have already loaded Resident from elsewhere
|
||||
// so lets be careful.
|
||||
if(!class_exists('Redisent', false)) {
|
||||
require_once dirname(__FILE__) . '/../Redisent/Redisent.php';
|
||||
require_once __DIR__ . '/../Redisent/Redisent.php';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue