/
Lengow.php
37 lines (32 loc) · 1.39 KB
/
Lengow.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************/
namespace Lengow;
use Propel\Runtime\Connection\ConnectionInterface;
use Thelia\Install\Database;
use Thelia\Module\BaseModule;
/**
* Class Lengow
* @package Lengow
*/
class Lengow extends BaseModule
{
const MESSAGE_DOMAIN = "lengow";
const ROUTER = "router.lengow";
public function postActivation(ConnectionInterface $con = null)
{
$database = new Database($con);
$database->insertSql(null, [
__DIR__.'/Config/insert.sql',
__DIR__.'/Config/create.sql',
]);
}
}