开元琪稗

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

253.          $argString '';$comma ''
254.          if(null != $args)for ($i 0$i count($args); $i ++) { $argString .= $comma "\$args[$i]"$comma ', ';}
255.          eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);"); 
256.          return $GLOBALS['G_DY']["inst_class"][$class_name];
257.      }
258.      syError($class_name."类定义不存在,请检查。");
259.  }
260.  function curl_get($url) {
261.      $ch curl_init();
262.      curl_setopt($chCURLOPT_TIMEOUT120);
263.      curl_setopt($chCURLOPT_RETURNTRANSFER,1);
19.                }
20.          }
21.          return $result;
22.      }
23.      function index(){
24.          $this->Class=syClass('c_'.$this->molds);
25.          if($this->syArgs('file',1)!=''){
26.              $this->channel=syDB($this->molds)->findSql('select * from '.$this->db.' a left join '.$this->db.'_field b on (a.id=b.aid) where (htmlfile="'.$this->syArgs('file',1).'" or id='.$this->syArgs('file').') and isshow=1 limit 1');
27.              $id $this->channel['id'];
28.          }else{
29.              $id $this->syArgs('id');
11.      $handle_controller syClass($__controllernull$GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
12.      if(!is_object($handle_controller) || !method_exists($handle_controller$__action)){
13.          syError('route Error');
14.          exit;
15.      }
16.      $handle_controller->$__action();
17.      if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
18.          $__tplname $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
19.                  $__action.$GLOBALS['G_DY']['view']['auto_display_suffix']; 
20.          $handle_controller->auto_display($__tplname);
21.      }
1.  <?php
2.  require("config.php");
3.  //下面是判断语句
4.  $doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
5.  require(DOYO_PATH."/sys.php");
6.  spRun();
document.write("")