public static function canAutoUpdate()
    {
        if (!is_writable(PIWIK_INCLUDE_PATH . '/') ||
            !is_writable(PIWIK_DOCUMENT_ROOT . '/index.php') ||
            !is_writable(PIWIK_INCLUDE_PATH . '/core') ||
            !is_writable(PIWIK_USER_PATH . '/config/global.ini.php')
        ) {
            return false;
        }
        return true;
    }
public static function canAutoUpdate()
    {
        if (!is_writable(PIWIK_INCLUDE_PATH . '/') ||
            !is_writable(PIWIK_DOCUMENT_ROOT . '/index.php') ||
            !is_writable(PIWIK_INCLUDE_PATH . '/core') ||
            !is_writable(PIWIK_USER_PATH . '/config/global.ini.php')
        ) {
            return false;
        }
        return true;
    }
public static function canAutoUpdate ( ) { if ( ! is_writable ( PIWIK_INCLUDE_PATH . '/' ) || ! is_writable ( PIWIK_DOCUMENT_ROOT . '/index.php' ) || ! is_writable ( PIWIK_INCLUDE_PATH . '/core' ) || ! is_writable ( PIWIK_USER_PATH . '/config/global.ini.php' ) ) { return false ; } return true ; }
Check if this installation can be auto-updated.
For performance, we look for clues rather than an exhaustive test.

@return bool
Check if this installation can be auto - updated . For performance we look for clues rather than an exhaustive test .