public function includeFileAllowed($path)
    {
        if (!$this->includeAllowed) {
            return false;
        }
        if (!@is_readable($path)) {
            return false;
        }
        if (empty($this->includeRoot)) {
            return true;
        }
        $real = realpath($path);
        foreach (explode(':', $this->includeRoot) as $root) {
            if (strpos($real, $root) === 0) {
                return true;
            }
        }
        return false;
    }