[wp-trac] [WordPress Trac] #38204: enhancement: custom pathname to wp-config.php

WordPress Trac noreply at wordpress.org
Sat Oct 1 18:28:40 UTC 2016


#38204: enhancement: custom pathname to wp-config.php
-------------------------+------------------------------
 Reporter:  gdamjan      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by knutsp):

 Hello gdamjan and welcome to Trac!

 `wp-config.php` may already be located above the code directory.

 Since it's a PHP script file you may also change the file to just include
 or read another readable file or resource.

 Why is an environment variable a better way?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38204#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list