Ver Fonte

Amfphp改成App

cyzhao há 1 ano atrás
pai
commit
663a335f8d

+ 2 - 2
Gameserver/Public/BackOffice/modules/mainmenu.php

@@ -1,6 +1,6 @@
 <?php
 
-include_once __DIR__ . '/../../../Amfphp/util/HttpUtil.php';
+include_once __DIR__ . '/../../../App/util/HttpUtil.php';
 include_once __DIR__ . '/debug.php';
 
 use loyalsoft\RenderTime;
@@ -88,7 +88,7 @@ class MainMenu extends core {
             $className = $params['className'];
             $mname = $params['method'];
             if ($className && $mname) {
-                include_once __DIR__ . '/../../../Amfphp/Services/' . str_replace("loyalsoft\\", "", $className) . '.php'; # 直接向客户端输出返回值
+                include_once __DIR__ . '/../../../App/Services/' . str_replace("loyalsoft\\", "", $className) . '.php'; # 直接向客户端输出返回值
                 $rt = new RenderTime();
                 ob_start();
                 $result = call_user_func_array(array($className, $mname), array_values($_POST));

+ 2 - 2
Gameserver/Public/BackOffice/templates/debug.tpl

@@ -1,7 +1,7 @@
 <?php
 
-include_once dirname(__FILE__) . '/../../../Amfphp/Services/AppServer.php';
-include_once dirname(__FILE__) . '/../../../Amfphp/Services/TestServer.php';
+include_once dirname(__FILE__) . '/../../../App/Services/AppServer.php';
+include_once dirname(__FILE__) . '/../../../App/Services/TestServer.php';
 
 ?>