rename NHero->Hero
This commit is contained in:
parent
80314eb940
commit
d2bf465b9a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import _common
|
import _common
|
||||||
|
|
||||||
class NHero(object):
|
class Hero(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.apis = [
|
self.apis = [
|
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once('mt/NewShop.php');
|
require_once('mt/NewShop.php');
|
||||||
class NHeroController extends BaseAuthedController {
|
|
||||||
|
class HeroController extends BaseAuthedController {
|
||||||
|
|
||||||
|
|
||||||
public function addItemToDB()
|
public function addItemToDB()
|
@ -27,6 +27,7 @@ $rewriteRule = array(
|
|||||||
'NGun' => 'Gun',
|
'NGun' => 'Gun',
|
||||||
'Property' => 'Role',
|
'Property' => 'Role',
|
||||||
'NBag' => 'Bag',
|
'NBag' => 'Bag',
|
||||||
|
'NHero' => 'Hero',
|
||||||
);
|
);
|
||||||
|
|
||||||
function getRewriteClass($oldC)
|
function getRewriteClass($oldC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user