protected function initPaths($pathToRoot, $pathToApplication)
    {
        // get absolute root
        $root = $this->up($pathToRoot, 1, true);

        self::$path['document_root'] = $root;
        self::$path['core']          = $this->combine($root, ['src', 'Doozr']);
        self::$path['framework']     = $this->combine($root, ['src']);
        self::$path['app']           = $pathToApplication;
        self::$path['model']         = $this->combine($root, ['src', 'Model']);
        self::$path['service']       = $this->combine($root, ['src', 'Service']);
        self::$path['controller']    = $this->combine($root, ['src', 'Doozr', 'Controller']);
        self::$path['data']          = $this->combine($root, ['src', 'Data']);
        self::$path['data_private']  = $this->combine($root, ['src', 'Data', 'Private']);
        self::$path['auth']          = $this->combine($root, ['src', 'Data', 'Private', 'Auth']);
        self::$path['cache']         = DOOZR_DIRECTORY_TEMP;
        self::$path['configuration']        = $this->combine($root, ['src', 'Data', 'Private', 'Config']);
        self::$path['font']          = $this->combine($root, ['src', 'Data', 'Private', 'Font']);
        self::$path['log']           = DOOZR_DIRECTORY_TEMP;
        self::$path['temp']          = DOOZR_DIRECTORY_TEMP;
        self::$path['data_public']   = $this->combine($pathToApplication, ['Data', 'Public']);
        self::$path['www']           = $this->combine($pathToApplication, ['Data', 'Public', 'www']);
        self::$path['upload']        = $this->combine($pathToApplication, ['Data', 'Private', 'Upload']);
        self::$path['localisation']  = $this->combine($pathToApplication, ['Data', 'Private', 'Locale']);

        return $this;
    }