• Resolved PatrikHax

    (@patrikhax)


    Hello! What is your reason for switching _DIR_ to _FILE_ in wp-config.php? ??

    Is it better to run _DIR_ when you have PHP older than 5.3?

    • This topic was modified 6 days, 23 hours ago by PatrikHax.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mohammedeisa

    (@mohammedeisa)

    Hello @patrikhax ,

    Thanks for reaching out to us and please accept my apologies for the late reply.

    Once we got your report, I forwarded it to the development team to get accurate information about it. That’s why I took time to reply to you.

    Below the feedback I got:

    In the early versions of the wp-config-sample.php that was how ABSPATH was defined, but now they have changed it to?__DIR__.

    Thedirname(__FILE__)?and?__DIR__?are equivalent and there shouldn’t be any issue related to using them.

    However, our development team will check if it’s needed to change this. Definitely, they will take the correct action as soon as possible.

    I hope this helps. Please don’t hesitate to ask us if you have any questions. We are happy to help.

    Thanks!

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @patrikhax ,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks! 

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.