-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from thathoff/release-4
Release Version 4
- Loading branch information
Showing
7 changed files
with
150 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
<?php | ||
|
||
// Support manual installation inside kirby’s plugin directory | ||
// support manual installation in plugins folder | ||
@include_once __DIR__ . '/vendor/autoload.php'; | ||
|
||
require_once __DIR__ . '/vendor/autoload.php'; | ||
$kirbyGit = new Thathoff\GitContent\KirbyGit(); | ||
|
||
Kirby::plugin('thathoff/git-content', [ | ||
'hooks' => $kirbyGit->getHooks(), | ||
'routes' => $kirbyGit->getRoutes(), | ||
'options' => [ | ||
'path' => null, | ||
'branch' => null, | ||
'pull' => null, | ||
'push' => null, | ||
'commit' => null, | ||
'cronHooksEnabled' => null, | ||
'commitMessage' => ':action:(:item:): :url:', | ||
'windowsMode' => null, | ||
'gitBin' => null, | ||
'displayErrors' => null, | ||
] | ||
]); |
Oops, something went wrong.