<?php error_reporting(E_ERROR | E_PARSE); require './src/wekit.php'; $components = array('router' => array()); Wekit::run('inform', $components);
<?php error_reporting(E_ERROR | E_PARSE); require './src/wekit.php'; $components = array('router' => array()); Wekit::run('pwadmin', $components);
<?php /** * api.php class file. * * @author Tongle Xu <*****@*****.**> * @link http://www.tintsoft.com/ * @copyright Copyright © 2009-2013 TintSoft Development Co., LTD * @license http://www.tintsoft.com/html/about/copyright/ * @version $Id: api.php 623 2013-07-29 03:40:03Z 85825770@qq.com $ */ error_reporting(E_ALL); //开发 //Error_reporting(E_ERROR | E_WARNING | E_PARSE);//线上 require_once 'src/wekit.php'; Wekit::run('Api');
<?php error_reporting(E_ALL ^ E_NOTICE | E_STRICT); require '../../src/wekit.php'; $components = array('router' => array()); Wekit::run('windid', $components);
<?php session_start(); error_reporting(E_ERROR | E_PARSE); if (isset($_SESSION['op'])) { $op = $_SESSION['op']; $user = $_SESSION['user']; } require './src/wekit.php'; $_SESSION['op'] = $op; $_SESSION['user'] = $user; $components = array('router' => array()); Wekit::run('windidnotify', $components);
<?php /* * used to calculate shop sales everyday */ error_reporting(E_ERROR | E_PARSE); $_SERVER['REQUEST_URI'] = 'schedule'; $_SERVER['HTTP_X_REWRITE_URL'] = 'schedule'; $_SERVER['ORIG_PATH_INFO'] = 'schedule'; $_SERVER['HTTP_HOST'] = 'www.diancanyo.com'; define('TT', dirname(__FILE__) . DIRECTORY_SEPARATOR); include TT . '../src/wekit.php'; Wekit::run('phpwind'); $startDate = '2013-08-01'; $isfirstrun = false; //if it is first time run, then need to calculate the data from start date date_default_timezone_set('Asia/Shanghai'); $today = date('Y-m-d H:i:s'); echo "today:" . $today; if ($isfirstrun) { while ($startDate < $today) { calDailySale($startDate); //prepare next day $fromDateArray = getdate(strtotime($startDate)); $nextday = mktime(0, 0, 0, $fromDateArray['mon'], $fromDateArray['mday'] + 1, $fromDateArray['year']); $startDate = date('Y-m-d', $nextday); } } else { //if it is not first time run, then just cal previous $fromDateArray = getdate(strtotime($today)); $nextday = mktime(0, 0, 0, $fromDateArray['mon'], $fromDateArray['mday'] - 1, $fromDateArray['year']);
<?php error_reporting(E_ERROR | E_PARSE); require '../../src/wekit.php'; Wekit::run('windidadmin', array('router' => array()));
<?php /** * command.php class file. * * @author Tongle Xu <*****@*****.**> * @link http://www.tintsoft.com/ * @copyright Copyright © 2009-2013 TintSoft Development Co., LTD * @license http://www.tintsoft.com/html/about/copyright/ * @version $Id: leapsc.php 620 2013-07-29 03:32:10Z 85825770@qq.com $ */ error_reporting(E_ALL); //开发 //Error_reporting(E_ERROR | E_WARNING | E_PARSE);//线上 require_once 'src/wekit.php'; Wekit::run('Command');
<?php /** * 入口文件 * * @author Tongle Xu <*****@*****.**> * @link http://www.tintsoft.com/ * @copyright Copyright © 2009-2013 TintSoft Development Co., LTD * @license http://www.tintsoft.com/html/about/copyright/ * @version $Id: index.php 623 2013-07-29 03:40:03Z 85825770@qq.com $ */ error_reporting(E_ALL); //开发 //Error_reporting(E_ERROR | E_WARNING | E_PARSE);//线上 require_once 'src/wekit.php'; Wekit::run('Web');
<?php error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); require '../src/wekit.php'; Wekit::run('install');
<?php error_reporting(E_ERROR | E_PARSE); require '.././src/wekit.php'; $components = array('router' => array()); Wekit::run('windidadmin', $components);