yii引用第三方库或这自建类的方式
1. include_once \Yii::getAlias(‘@vendor’).’/phpexcel/Classes/PHPExcel.php’;
$objPHPExcel = new \PHPExcel();
2.打开配置文件/config/web.php,在文件头部向Yii::$classMap属性添加类映射……..
http://www.yiiframework.com/doc-2.0/guide-tutorial-yii-integration.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_435.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57