<?php
/*
 +----------------------------------------------------------------------
 | TEMMOKUMVC [ NO BEST, ONLY BETTER ]
 +----------------------------------------------------------------------
 | Copyright (c) 2018~2019 https://www.temmoku.cn All rights reserved.
 +----------------------------------------------------------------------
 | Author: 张宗强 Email:webmaster@temmoku.cn QQ:158726877 516669373 TEL:17895221001 微信:temmokumvc
 +---------------------------------------------------------------------- 
*/
namespace plugin\verification_code\home\controller;
use \temmoku\controller;
use \temmoku\lib\yzm;
use \plugin\verification_code\init;
class index extends controller{
	public function index(){

		$HEIGTH=C(init::$dir.'|Verification_Code.yzm_height') ? C(init::$dir.'|Verification_Code.yzm_height') : '35';
		$width=C(init::$dir.'|Verification_Code.yzm_width') ? C(init::$dir.'|Verification_Code.yzm_width') : '65';
		$length=C(init::$dir.'|Verification_Code.yzm_length') ? C(init::$dir.'|Verification_Code.yzm_length') : '4';
		Yzm::Get_images($length,$width,$HEIGTH);
	}
}
?>
