Browse Source

Merge pull request #89 from victorruan/master

变更变量名
walkor 9 years ago
parent
commit
487e7344dc
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) {