Méthode | Description | |
---|---|---|
createFilesForSecurity ( ) | ||
createHtAccessFiles ( ) | Generate Apache .htaccess files to restrict access | |
createWebRootFiles ( ) | Generate default robots.txt, favicon.ico, etc to suppress 404 (Not Found) errors in the web server logs, if Piwik is installed in the web root (or top level of subdomain). | |
deleteHtAccessFiles ( ) | Deletes all existing .htaccess files and web.config files that Piwik may have created, | |
deleteWebConfigFiles ( ) |
Méthode | Description | |
---|---|---|
createHtAccess ( string $path, boolean $overwrite = true, string $content ) | Create .htaccess file in specified directory | |
createWebConfigFiles ( ) | Generate IIS web.config files to restrict access | |
getAllowHtaccessContent ( ) : string | ||
getDenyAllHtaccessContent ( ) : string | ||
getDenyHtaccessContent ( ) : string |
public static createHtAccessFiles ( ) |
protected static createWebConfigFiles ( ) |
public static createWebRootFiles ( ) |
public static deleteHtAccessFiles ( ) |
protected static getAllowHtaccessContent ( ) : string | ||
Résultat | string |
protected static getDenyAllHtaccessContent ( ) : string | ||
Résultat | string |
protected static getDenyHtaccessContent ( ) : string | ||
Résultat | string |