first version

This commit is contained in:
Bastian Allgeier
2019-01-13 23:17:34 +01:00
commit 01277f79f2
595 changed files with 82913 additions and 0 deletions

20
kirby/src/Cms/S.php Executable file
View File

@@ -0,0 +1,20 @@
<?php
namespace Kirby\Cms;
use Kirby\Session\Session;
use Kirby\Toolkit\Facade;
/**
* Shortcut to the session object
*/
class S extends Facade
{
/**
* @return Session
*/
protected static function instance()
{
return App::instance()->session();
}
}