示例#1
0
 public function echodata($issucced = 1, $response = array(), $tips = 'succeed', $code = '0')
 {
     $responsedata = $issucced ? bwtitle($this->command, $tips) : errbwtitle($this->command, $response, $code, $tips);
     $issucced && $response && ($responsedata = array_merge($responsedata, $response));
     if ($this->istest) {
         debug($responsedata);
     }
     $data = dopdata($responsedata);
     echo $this->flauth . $data;
     exit(0);
 }
示例#2
0
<?php

/**
* @file error_404.php
* @synopsis  重写404
* @author Yee, <*****@*****.**>
* @version 1.0
* @date 2014-03-13 14:40:21
*/
include BASEDIRS . 'application/helpers/makebw_helper.php';
$command = $GLOBALS['URI']->uri_string;
$data = errbwtitle($command, $type = 1);
exit('flystm!' . dopdata($data));