Skip to content

Commit

Permalink
in order to build my packagist
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetao Yang authored and Zetao Yang committed Aug 7, 2017
1 parent 5d4655d commit 3121f15
Show file tree
Hide file tree
Showing 39 changed files with 24,924 additions and 665 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor/
composer.lock
38 changes: 38 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "owner888/phpspider",
"type": "library",
"keywords": [
"framework",
"phpspider"
],
"homepage": "http://www.phpspider.org",
"license": "MIT",
"description": "The PHPSpider Framework.",
"authors": [
{
"name": "Seatle Yang",
"email": "[email protected]",
"homepage": "http://www.phpspider.org",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/owner888/phpspider/issues",
"forum": "http://wenda.phpspider.org/",
"wiki": "http://doc.phpspider.org/",
"source": "https://github.com/owner888/phpspider"
},
"require": {
"php": ">=5.5.0"
},
"suggest": {
"ext-pcntl、ext-redis": "For better performance. "
},
"autoload": {
"psr-4": {
"phpspider\\": "./"
}
},
"minimum-stability": "dev"
}
20 changes: 19 additions & 1 deletion config/inc_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,30 @@
'name' => 'demo',
);

$GLOBALS['config']['test'] = array(
'host' => '127.0.0.1',
'port' => 3306,
'user' => 'root',
'pass' => 'root',
'name' => 'test',
);

$GLOBALS['config']['redis'] = array(
'host' => '127.0.0.1',
'port' => 6379,
'pass' => '',
'db' => 1,
'db' => 5,
'prefix' => 'phpspider',
'timeout' => 30,
);

$GLOBALS['config']['redis_test'] = array(
'host' => '127.0.0.1',
'port' => 6379,
'pass' => '',
'db' => 0,
'prefix' => 'test',
'timeout' => 30,
);

//include "inc_mimetype.php";
Binary file added core/.DS_Store
Binary file not shown.
Loading

0 comments on commit 3121f15

Please sign in to comment.