Changeset 1265
- Timestamp:
- 05/12/2004 07:55:37 AM (21 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r1259 r1265 377 377 if ($prev_status != 'publish' && $post_status == 'publish') { 378 378 generic_ping(); 379 if ($post_pingback) { 380 pingback($content, $post_ID); 381 } 379 382 } // end if moving from draft/private to published 380 383 if ($post_status == 'publish') { -
trunk/wp-blog-header.php
r1255 r1265 1 1 <?php 2 2 3 $curpath = dirname(__FILE__).'/';4 5 if (!file_exists( $curpath . '/wp-config.php'))3 require(dirname(__FILE__).'/' . 'wp-includes/wp-l10n.php'); 4 5 if (!file_exists(dirname(__FILE__).'/' . 'wp-config.php')) 6 6 die(__("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. You can <a href='wp-admin/install-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file.")); 7 7 8 require_once( $curpath. '/wp-config.php');8 require_once(dirname(__FILE__).'/' . '/wp-config.php'); 9 9 10 10 // Process PATH_INFO, if set.
Note: See TracChangeset
for help on using the changeset viewer.