Retour au blog

#8 Mise à jour phpBB 3.3.16 à phpBB 3.3.17

Mise à jour phpBB 3.3.16 à phpBB 3.3.17
Pour mettre à jour prosilver et vos styles enfants hérités de prosilver.


Image



►Modification CSS

Aucune




► Modification composer.json

Pour le fichier composer.json remplacer la section comme ci

Code : Tout sélectionner

# General Information about this style
name = prosilver
copyright = © phpBB Limited, 2007
style_version = 3.3.17
phpbb_version = 3.3.17




►Modification template

Ouvrir ./styles/prosilver/template/login_body_oauth.html

👉🏾 Trouver

Code : Tout sélectionner

		<a href="{{ oauth.REDIRECT_URL }}" class="button2">{{ oauth.SERVICE_NAME }}</a>
  • 🔄 Remplacer par

    Code : Tout sélectionner

    		<a href="{{ oauth.LOGIN_URL }}" class="button2">{{ oauth.SERVICE_NAME }}</a>



Source : https://gist.github.com/marc1706/9d6105 ... 67f311a4ee



Ouvrir .htaccess

👉🏾 Trouver

Code : Tout sélectionner

# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
# module mod_authz_host to a new module called mod_access_compat (which may be
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.
# We could just conditionally provide both versions, but unfortunately Apache
# does not explicitly tell us its version if the module mod_version is not
# available. In this case, we check for the availability of module
# mod_authz_core (which should be on 2.4 or higher only) as a best guess.
<IfModule mod_version.c>
	<IfVersion < 2.4>
		<Files "config.php">
			Order Allow,Deny
			Deny from All
		</Files>
		<Files "common.php">
			Order Allow,Deny
			Deny from All
		</Files>
	</IfVersion>
	<IfVersion >= 2.4>
		<Files "config.php">
			Require all denied
		</Files>
		<Files "common.php">
			Require all denied
		</Files>
	</IfVersion>
</IfModule>
<IfModule !mod_version.c>
	<IfModule !mod_authz_core.c>
		<Files "config.php">
			Order Allow,Deny
			Deny from All
		</Files>
		<Files "common.php">
			Order Allow,Deny
			Deny from All
		</Files>
	</IfModule>
	<IfModule mod_authz_core.c>
		<Files "config.php">
			Require all denied
		</Files>
		<Files "common.php">
			Require all denied
		</Files>
	</IfModule>
</IfModule>
  • 🔄 Remplacer par

    Code : Tout sélectionner

    # With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
    # module mod_authz_host to a new module called mod_access_compat (which may be
    # disabled) and a new "Require" syntax has been introduced to mod_authz_host.
    # We could just conditionally provide both versions, but unfortunately Apache
    # does not explicitly tell us its version if the module mod_version is not
    # available. In this case, we check for the availability of module
    # mod_authz_core (which should be on 2.4 or higher only) as a best guess.
    <IfModule mod_version.c>
    	<IfVersion < 2.4>
    		<Files "config.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "common.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "composer.json">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "composer.lock">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    	</IfVersion>
    	<IfVersion >= 2.4>
    		<Files "config.php">
    			Require all denied
    		</Files>
    		<Files "common.php">
    			Require all denied
    		</Files>
    		<Files "composer.json">
    			Require all denied
    		</Files>
    		<Files "composer.lock">
    			Require all denied
    		</Files>
    	</IfVersion>
    </IfModule>
    <IfModule !mod_version.c>
    	<IfModule !mod_authz_core.c>
    		<Files "config.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "common.php">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "composer.json">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    		<Files "composer.lock">
    			Order Allow,Deny
    			Deny from All
    		</Files>
    	</IfModule>
    	<IfModule mod_authz_core.c>
    		<Files "config.php">
    			Require all denied
    		</Files>
    		<Files "common.php">
    			Require all denied
    		</Files>
    		<Files "composer.json">
    			Require all denied
    		</Files>
    		<Files "composer.lock">
    			Require all denied
    		</Files>
    	</IfModule>
    </IfModule>
11 vues
Retour au blog

Mots de passe - Connexion