[wpmu-trac] [WordPress MU Trac] #1186: WPMU Install check in wp-blog-header.php is requesting directory (above)

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Jan 5 11:10:41 UTC 2010


#1186: WPMU Install check in wp-blog-header.php is requesting directory (above)
------------------------+---------------------------------------------------
 Reporter:  Frumph      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:          
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 line 10: wp-blog-header.php
 {{{
         if ( !file_exists( dirname(__FILE__) . '/wp-config.php') &&
 !file_exists( dirname( dirname(__FILE__) ) . '/wp-config.php')) {
 }}}

 the dirname( dirname(__FILE__) ) refers to the directory ABOVE the wp-
 blog-header.php file so if someone put a wp-config.php file in that
 directory for say storage or what not it checks for it, there's no reason
 for this check, what if someone has a subdomain subdirectory installation
 that has a domain in the root then in the subdomain-subdirectory has an
 installation.

 alot of hosts place subdomain roots as subdirectories off their main root
 install this is counter productive

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1186>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list