Version 0.0.1 created by Yanick Rochon
ThoriumCMS is a module to manage static or dynamic pages.
- Zend Framework 2 (latest master)
- ZfcBase (latest master).
- ZfcUser (latest master).
- offer a very lightweight, pluggable, CMS module that can be easily extended and customized
- Install the ZfcBase and the
ZfcUser ZF2 modules by cloning
them into
./vendor/
and enabling them in yourapplication.config.php
file. - Clone this project into your
./vendor/
directory and enable it in yourapplication.config.php
file. - Import the SQL schema located in
./vendor/ThoriumCms/data/schema.sql
.
-
If you do not already have a valid Zend\Db\Adapter\Adapter in your service manager configuration, put the following in
./config/autoload/database.local.php
:<?php $dbParams = array( 'database' => 'changeme', 'username' => 'changeme', 'password' => 'changeme', 'hostname' => 'changeme', ); return array( 'service_manager' => array( 'factories' => array( 'Zend\Db\Adapter\Adapter' => function ($sm) use ($dbParams) { return new Zend\Db\Adapter\Adapter(array( 'driver' => 'pdo', 'dsn' => 'mysql:dbname='.$dbParams['database'].';host='.$dbParams['hostname'], 'database' => $dbParams['database'], 'username' => $dbParams['username'], 'password' => $dbParams['password'], 'hostname' => $dbParams['hostname'], )); }, ), ), );