You are here

constant REDIS_ROOT in Redis 7.2

Same name and namespace in other branches
  1. 7.3 redis.autoload.inc \REDIS_ROOT

Autoloader micro optimization, work with constant as much as we can.

1 use of REDIS_ROOT
redis_autoload in ./redis.autoload.inc
Redis module specific autoloader, compatible with spl_register_autoload().

File

./redis.autoload.inc, line 11
Redis module autoloader.

Code

define('REDIS_ROOT', dirname(__FILE__) . '/lib');