Code Monkey home page Code Monkey logo

Comments (3)

jbma avatar jbma commented on May 28, 2024

Original comment by Julio Potier (Bitbucket: juliopotier, GitHub: Unknown):


J'ai remplacé les 2 includes + instance de classe par la fonction WP_Filesystem(), ce qui déclare de façon normale les constantes.
Donc est-ce que ça règle le soucis de la constante : oui
Est ce que ça règle le problème du mec qui mets le wp-config.php en 604, non il aura la valeur de la constante.
Comment on fait, il déclare la constante lui meme pour interférer avec WP finalement ? Car pour mettre 604 il le fait à la main alors que WP peut lui faire finalement !
Ou alors il faut lire le chmod et le replacer.

from wp-rocket.

jbma avatar jbma commented on May 28, 2024

Original comment by Jonathan Buttigieg (Bitbucket: wp-media, GitHub: wp-media):


On touche au chmod du htaccess quand on le modifie avec rocket_put_content(). Un client avait mis 604 à son .htaccess et se plaignait que Rocket le change à 644 à chaque mise à jour.

from wp-rocket.

jbma avatar jbma commented on May 28, 2024

Original comment by Julio Potier (Bitbucket: juliopotier, GitHub: Unknown):


je ne vois pas où on touche le chmod pour le htaccess lors de l'écriture.
on vérifie si on à les droits, on écrit dedans, point.

Par contre pour le wp-config on fais pareil puis on mets 0644, euh pourquoi y toucher ?

from wp-rocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.