resourceBaseUrl = CKFinder_Auth::getBaseUrl() . self::RESOURCE_DIR; } public function isValid($value, $context = null) { if ('' != $value) { $path = str_replace(BASE_URL, WWW_PATH, $value); $path = urldecode($path); if (!is_file($path)) { $value = ''; } } return parent::isValid($value, $context); } }