/** * Set the class map cache file path * * @param string $path */ static function setClassMapFilePath($path) { self::$_classMapFileLocation = $path; $dirName = dirname($path); if (!is_dir($dirName)) { mkdir($dirName); chmod($dirName, 0755); } }
/** * Set the class map cache file path * * @param string $path */ static function setClassMapFilePath($path) { self::$_classMapFileLocation = $path; self::$_classMapCacheKey = 'KAutoloader_' . substr(md5(self::$_classMapFileLocation), 0, 10) . '_'; }