* Created by PhpStorm. * 作者:NumberWolf * Email:porschegt23@foxmail.com * 这是一个控制器例子 * APACHE 2.0 LICENSE * Copyright [2016] [Chang Yanlong] * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 **************************************************************************/ namespace Controller\Index; \RSystem\system::load_cont('Test', 'test'); if (!defined('CHMOD_ROLLER')) { exit('权限不足!'); } class index extends \Controller\Test\test { public function __construct() { // echo __METHOD__; } public function start($dataArr) { echo '<img src="' . \RSystem\system::load_storage('RollerPHP_small.png', 'temp') . '" />'; echo '<h1>欢迎使用RollerPHP框架!</h1><br>作者:NumberWolf<br>邮箱:porschegt23@foxmail.com<br>'; // $this->test_cont(); }