public static function getLocation($array = false)
    {
        $folder   = realpath(dirname(__FILE__) . '/../') . '/' . self::DB_FOLDER;
        $filepath = $folder . '/' . self::DB_FILENAME;
        if ( ! $array) {
            return $filepath;
        }

        return array(
            'folder' => $folder,
            'file'   => self::DB_FILENAME,
        );
    }