mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
require -> require_once
b2config.php -> wp-config.php git-svn-id: https://develop.svn.wordpress.org/trunk@212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -40,7 +40,7 @@ switch($action) {
|
||||
case 'update':
|
||||
|
||||
$standalone = 1;
|
||||
require("b2header.php");
|
||||
require_once("b2header.php");
|
||||
|
||||
if ($user_level < 3) {
|
||||
die('<p>You have no right to edit the template for this blog.<br />Ask for a promotion to your <a href="mailto:$admin_email">blog admin</a>. :)</p>');
|
||||
@@ -60,7 +60,7 @@ break;
|
||||
|
||||
default:
|
||||
|
||||
require('b2header.php');
|
||||
require_once('b2header.php');
|
||||
|
||||
if ($user_level <= 3) {
|
||||
die('<p>You have no right to edit the template for this blog.<br>Ask for a promotion to your <a href="mailto:$admin_email">blog admin</a>. :)</p>');
|
||||
|
||||
Reference in New Issue
Block a user