Skip to content

Commit

Permalink
master
Browse files Browse the repository at this point in the history
  • Loading branch information
keenlysoft committed Sep 17, 2018
1 parent 9628d7d commit 7802c57
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"type" : "project",
"license" : "Apache-2.0",
"authors" : [{
"name" : "jack_yang",
"name" : "brain_yang",
"email" : "qiaopi520@qq.com"
}
],
"require" : {
"php" : ">=7.0.0",
"keenlysoft/keenly" : "^2.1",
"keenlysoft/database" :"^1.2"
"keenlysoft/database" : "^1.2"
},
"require-dev" : {
"composer/composer" : "^1.6"
Expand Down
9 changes: 9 additions & 0 deletions models/keenly.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,18 @@ private static function unsetFile($file){
}


private static function CreartConfig(){
@copy(__DIR__ . '/../vendor/keenlysoft/keenly/config/config.tpl', self::$rootdir.'config/'.'config.php');

}



private static function CreateWeb(){
$web = self::$rootdir.'web';
$conf = self::$rootdir.'config';
@mkdir($web,0755);
@mkdir($conf,0755);
$data = <<<'index'
<?php
/**
Expand Down

0 comments on commit 7802c57

Please sign in to comment.