Skip to content

Commit

Permalink
Merge pull request #12 from mauricerenck/develop
Browse files Browse the repository at this point in the history
added: autoload for non-composer installs (i hope)
  • Loading branch information
mauricerenck authored Mar 31, 2019
2 parents 0ecfe85 + 801471e commit b1e4987
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"email": "[email protected]"
}
],
"version": "1.0.2",
"version": "1.0.3",
"autoload": {
"files": [
"utils/PodcasterUtils.php",
Expand Down
10 changes: 10 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
use \PiwikTracker;
use Kirby\Http\Response;

load([
'Plugin\Podcaster\PodcasterUtils' => 'utils/PodcasterUtils.php',
'Plugin\Podcaster\PodcasterAudioUtils' => 'utils/PodcasterAudioUtils.php',
'Plugin\Podcaster\PodcasterStats' => 'utils/PodcasterStats.php',
'Plugin\Podcaster\PodcasterStatsMySql' => 'utils/PodcasterStatsMysql.php',
'Plugin\Podcaster\PodcasterStatsFile' => 'utils/PodcasterStatsFile.php',
'Plugin\Podcaster\PodcasterStatsPodTrac' => 'utils/PodcasterStatsPodTrac.php',
'Plugin\Podcaster\PiwikTracker' => 'lib/PiwikTracker.php'
], __DIR__);

Kirby::plugin('mauricerenck/podcaster', [
'options' => [
'statsInternal' => false,
Expand Down

0 comments on commit b1e4987

Please sign in to comment.