Browse Source

变更变量名

增强可读性
victorruan 9 years ago
parent
commit
24e35989a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Worker.php

+ 2 - 2
Worker.php

@@ -1313,8 +1313,8 @@ class Worker
         self::$_pidMap[$this->workerId]  = array();
 
         // Get autoload root path.
-        $backrace                = debug_backtrace();
-        $this->_autoloadRootPath = dirname($backrace[0]['file']);
+        $backtrace                = debug_backtrace();
+        $this->_autoloadRootPath = dirname($backtrace[0]['file']);
 
         // Context for socket.
         if ($socket_name) {