m_wenda类定义不存在,请检查。

157.          $argString '';$comma ''
158.          if(null != $args)for ($i 0$i count($args); $i ++) { $argString .= $comma "\$args[$i]"$comma ', '; } 
159.          eval("\$GLOBALS['G_SP']['inst_class'][\$class_name]= new \$class_name($argString);"); 
160.          return $GLOBALS['G_SP']["inst_class"][$class_name];
161.      }
162.      spError($class_name."类定义不存在,请检查。");
163.  }
164. 
165.  /**
166.   spError 框架定义的系统级错误提示
167.   
191.  <priority>0.8</priority>
192.  </url
193.  ';
194.      }
195.          //生成问答URL
196.      $result=spClass('m_wenda')->findAll(null,'id DESC');
197.      foreach($result as $k =>$v)
198.      {
199.      $txt .='
200.  <url
201.  <loc>'.$siteurl.'/problem-'.$v["id"].'.html</loc
5.  define('APP_PATH'dirname(__FILE__));
6.  define('SP_PATH'dirname(__FILE__).'/Comm/MyFrame');
7.  //加载配置文件
8.  require('config.php');
9.  //加载框架核心
10.  require(SP_PATH.'/SpeedPHP.php');
11.  //执行应用
12.  spRun();
13.  ?>