projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add logging; fix caching
[pharext/pharext.org]
/
app
/
bootstrap
/
github.php
diff --git
a/app/bootstrap/github.php
b/app/bootstrap/github.php
index 0ec014e09c00d7c0aac54c26e19da76d82ae6bd2..30bd96d88727decc1a97de18e7eafa77396e2925 100644
(file)
--- a/
app/bootstrap/github.php
+++ b/
app/bootstrap/github.php
@@
-16,8
+16,10
@@
$injector->share(Github\API::class)
$config->$basic->auth->toArray(),
0);
}
$config->$basic->auth->toArray(),
0);
}
+ // FIXME: configure through app.ini
return new Github\API(
$config->github
return new Github\API(
$config->github
+ ,new Github\Logger($config)
,new Github\Storage\Session("gh-tokens")
#,new Github\Storage\Memcache("gh-cache")
,new Github\Storage\Redis("gh-cache")
,new Github\Storage\Session("gh-tokens")
#,new Github\Storage\Memcache("gh-cache")
,new Github\Storage\Redis("gh-cache")