Merge pull request #13 from zzglfh/master

add dockerfile for run with docker
pull/296/head
warlee 2015-09-19 19:40:11 +08:00
commit ba93b60e44
2 changed files with 9 additions and 2 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM tutum/apache-php
RUN rm -rf /var/lib/apt/lists/*
RUN rm -fr /app
ADD . /app
RUN mkdir /data
RUN chmod -R 777 /data
RUN chmod -R 777 /app

View File

@ -202,7 +202,7 @@ class explorer extends Controller{
array('name'=>$this->L['root_path'],'children'=>$root,'menuType'=>"menuTreeRoot",
'iconSkin'=>"my",'open'=>true,'this_path'=> MYHOME,'isParent'=>$root_isparent),
array('name'=>$this->L['public_path'],'children'=>$public,'menuType'=>"menuTreeRoot",
'iconSkin'=>"lib",'open'=>true,'this_path'=> '*public*','isParent'=>$public_isparent)
'iconSkin'=>"lib",'open'=>true,'this_path'=> PUBLIC_PATH,'isParent'=>$public_isparent)
);
show_json($tree_data);
}
@ -730,4 +730,4 @@ class explorer extends Controller{
_DIR_OUT($list);
return $list;
}
}
}