Skip to content

Commit

Permalink
kirby-uniform added
Browse files Browse the repository at this point in the history
  • Loading branch information
kerli81 committed May 28, 2019
1 parent eae9156 commit 86282dd
Show file tree
Hide file tree
Showing 51 changed files with 5,923 additions and 4 deletions.
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -11,6 +11,7 @@
}
],
"require": {
"getkirby/composer-installer": "^1.1"
"getkirby/composer-installer": "^1.1",
"mzur/kirby-uniform": "^4.0"
}
}
216 changes: 216 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions index.php
Expand Up @@ -2,6 +2,8 @@

namespace Plugin\SecuredPage;

@include_once __DIR__ . '/vendor/autoload.php';

use Kirby;
use Kirby\Cms\Page;

Expand All @@ -23,7 +25,7 @@
$hook = new RouterAfterHook();
$result = $hook->process($result, $this->user());

if (! $result) {
if (!$result) {
go('/no-permission');
}
}
Expand All @@ -48,5 +50,3 @@
'fields/kerli81.securedpages.pageconfiguration' => __DIR__ . '/blueprints/fields/pagesecurity.yml'
]
]);

?>
7 changes: 7 additions & 0 deletions vendor/autoload.php
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInitd53505260e37b4e3add76bd48e03baa5::getLoader();

0 comments on commit 86282dd

Please sign in to comment.