yiiartisan
百度了一下,输出结尾添加exit()可以解决(到处添加exit()有点…………),另外有没有其他解决方法
- yiiartisan 2018-09-07 已签到连续签到1天,获得了5个金钱
- yiiartisan 2018-09-03 已签到连续签到1天,获得了5个金钱
- yiiartisan 回复了 power 的评论
这个编辑器太水了,代码都变样了,还有图片也上传不成功。。。。
可以到这里看:https://blog.csdn.net/sinat_33261247/article/details/80631790还是使用markdown的写法吧,
召唤图片!
- yiiartisan 2018-07-03 已签到连续签到1天,获得了5个金钱
- yiiartisan 2018-06-13 已签到连续签到1天,获得了5个金钱
- yiiartisan 回复了 辣码厉害 的评论
为甚我执行php composer.phar require kucha/ueditor "*"命令之后提示 Could not open input file: composer.phar
使用 composer require kucha/ueditor "*"
- yiiartisan 回复了 frans 的评论
其实看源码之后我就知道怎么设置了,没必要像你哪样啊。
前提是必须安装这个插件: 具体看readme
php composer.phar require "2amigos/yii2-date-picker-widget":"*"use dosamigos\datepicker\DatePicker; <?= $form->field($model, 'start_time')->widget( DatePicker::className(), [ // inline too, not bad 'inline' => true, 'language' => 'zh-CN' , //--设置为中文 'clientOptions' => [ 'autoclose' => false, 'format' => 'yyyy-mm-dd' ] ]);?>
@乌蝇哥 使用 composer require "2amigos/yii2-date-picker-widget":"*"
环境变量配置好的情况下 php composer.phar = composer - yiiartisan 回复了 yiiartisan 的回答
return $this->success(['/admin/index']);
自定义 msg.php:
<?php/ @var $this yii\web\View /
/ @var $name string /
/ @var $message string /
/ @var $exception Exception /
use yii\helpers\Html;
?>
<?php if(isset($errorMessage)):?> <?php echo '操作出错啦!' ?> <?php echo '
'.$errorMessage.'
';?> <?php else:?> 恭喜!操作成功! <?php endif;?>该页将在3秒后自动跳转!
<?php if(isset($gotoUrl)):?> 立即跳转 <?php else:?> 返回上一页 <?php endif;?>
<?php if(!isset($gotoUrl)):?> setInterval("history.go(-1);",<?php echo $sec;?>000); <?php else:?> setInterval("window.location.href='<?php echo $gotoUrl;?>'",<?php echo $sec;?>000); <?php endif;?>