first commit
This commit is contained in:
32
plugins/stSecurityPlugin/config/config.php
Normal file
32
plugins/stSecurityPlugin/config/config.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* SOTESHOP/stSecurityPlugin
|
||||
*
|
||||
* Ten plik należy do aplikacji stSecurityPlugin opartej na licencji (Professional License SOTE).
|
||||
* Nie zmieniaj tego pliku, jeśli chcesz korzystać z automatycznych aktualizacji oprogramowania.
|
||||
* Jeśli chcesz wprowadzać swoje modyfikacje do programu, zapoznaj się z dokumentacją, jak zmieniać
|
||||
* oprogramowanie bez zmiany kodu bazowego http://www.sote.pl/modifications
|
||||
*
|
||||
* @package stSecurityPlugin
|
||||
* @subpackage configs
|
||||
* @copyright SOTE (www.sote.pl)
|
||||
* @license http://www.sote.pl/license/sote (Professional License SOTE)
|
||||
* @version $Id: config.php 617 2009-04-09 13:02:31Z michal $
|
||||
* @author Krzysztof Beblo <krzysztof.beblo@sote.pl>
|
||||
*/
|
||||
|
||||
if (SF_APP == 'backend')
|
||||
{
|
||||
/**
|
||||
* Włączanie modułów
|
||||
*/
|
||||
stPluginHelper::addEnableModule('stSecurityBackend');
|
||||
|
||||
/**
|
||||
* Dodawanie routingów
|
||||
*/
|
||||
stPluginHelper::addRouting('stSecurityPlugin', '/security/:action/*', 'stSecurityBackend', 'index');
|
||||
$dispatcher->connect('stTaskConfiguration.getTasks', array('stSecurityListener', 'addTaskScheluderTasks'));
|
||||
}
|
||||
|
||||
stSecurity::addCSPException('https://disqus.com');
|
||||
17
plugins/stSecurityPlugin/config/schema.yml
Normal file
17
plugins/stSecurityPlugin/config/schema.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
propel:
|
||||
_attributes:
|
||||
defaultIdMethod: native
|
||||
package: plugins.stSecurityPlugin.lib.model
|
||||
|
||||
st_security_token:
|
||||
_attributes:
|
||||
phpName: SecurityToken
|
||||
id:
|
||||
type: CHAR
|
||||
size: 32
|
||||
primaryKey: true
|
||||
required: true
|
||||
expire_at:
|
||||
type: timestamp
|
||||
|
||||
Reference in New Issue
Block a user