Skip to content

Commit

Permalink
fixed local
Browse files Browse the repository at this point in the history
  • Loading branch information
qieangel2013 authored May 5, 2017
1 parent 5b63bc6 commit ce41548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/library/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Local{
* @var string
*/
private $rootPath;
private $pathtype;
private $pathtype='';
/**
* 本地上传错误信息
* @var string
Expand All @@ -17,7 +17,7 @@ class Local{
*/
public function __construct($config = null){
if(!empty($config)){
$this->pathtype=$config['pathtype'];
$this->pathtype=isset($config['pathtype'])?$config['pathtype']:'';
}
}

Expand Down

0 comments on commit ce41548

Please sign in to comment.