mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-01 10:50:37 +02:00
@@ -114,7 +114,7 @@ class Core
|
||||
|
||||
// Init ORM
|
||||
if (defined('MONSTRA_DB_DSN')) {
|
||||
require_once(ROOT . '/engine/Orm.php');
|
||||
require_once(ROOT . '/libraries/Idiorm/Idiorm.php');
|
||||
Orm::configure(MONSTRA_DB_DSN);
|
||||
Orm::configure('username', MONSTRA_DB_USER);
|
||||
Orm::configure('password', MONSTRA_DB_PASSWORD);
|
||||
|
1266
engine/Orm.php
1266
engine/Orm.php
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Monstra Library
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Monstra Library
|
||||
* Monstra URI Module
|
||||
*
|
||||
* This source file is part of the Monstra Library. More information,
|
||||
* documentation and tutorials can be found at http://library.monstra.org
|
||||
|
Reference in New Issue
Block a user