Skip to content

Instantly share code, notes, and snippets.

Avatar
🏆
Focusing

赵达 zhaoda

🏆
Focusing
View GitHub Profile
View The front-end development course system.md
@zhaoda
zhaoda / helper.class.php
Last active Dec 19, 2015
ZenTaoPMS.4.1版本安装过程和安装后空白问题的解决方案 现象: 安装过程中内容显示缺失,或者安装后页面空白,打开error_reporting后函数array_merge()报错; 原因: php5中array_merge()只接受array类型的参数; 解决: 修改 ~/framework/helper.class.php 第403行,改为 return $files ? $files : array(); //change by zhaoda
View helper.class.php
<?php
/**
* The helper class file of ZenTaoPHP framework.
*
* The author disclaims copyright to this source code. In place of
* a legal notice, here is a blessing:
*
* May you do good and not evil.
* May you find forgiveness for yourself and forgive others.
* May you share freely, never taking more than you give.