mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-02 19:27:52 +02:00
@@ -25,7 +25,7 @@ Fast and small content management system written in PHP!
|
||||
2. Donate to keep Monstra free. We will add you to Monstra [Sponsors Page.](http://monstra.org/about/sponsors)
|
||||
3. Develop a new plugin.
|
||||
4. Create a new theme.
|
||||
5. Find and [report issues.](https://github.com/Awilum/monstra-cms/issues)
|
||||
5. Find and [report issues.](https://github.com/Monstra/monstra-cms/issues)
|
||||
6. Link back to [Monstra](http://monstra.org).
|
||||
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -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
|
||||
|
@@ -61,5 +61,4 @@ if (file_exists('install.php')) {
|
||||
|
||||
// Flush (send) the output buffer and turn off output buffering
|
||||
ob_end_flush();
|
||||
|
||||
}
|
||||
|
@@ -14,17 +14,17 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Should we use the Monstra Autoloader to ensure the dependancies are automatically
|
||||
* Should we use the Gelato Autoloader to ensure the dependancies are automatically
|
||||
* loaded?
|
||||
*/
|
||||
if ( ! defined('GELATO_LIBRARY_AUTOLOADER')) {
|
||||
define('GELATO_LIBRARY_AUTOLOADER', true);
|
||||
if ( ! defined('GELATO_AUTOLOADER')) {
|
||||
define('GELATO_AUTOLOADER', true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register autoload function
|
||||
*/
|
||||
if (GELATO_LIBRARY_AUTOLOADER) {
|
||||
if (GELATO_AUTOLOADER) {
|
||||
spl_autoload_register(array('Gelato', 'autoload'));
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ class Gelato
|
||||
{
|
||||
|
||||
/**
|
||||
* The version of Monstra
|
||||
* The version of Gelato
|
||||
*/
|
||||
const VERSION = '1.0.0';
|
||||
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# Monstra Library
|
||||
# Gelato Library
|
||||
|
||||
Monstra is a PHP5 library for web applications.
|
||||
Gelato is a PHP5 library for kickass Web Applications.
|
||||
|
||||
## Links
|
||||
- [Site](http://library.monstra.org)
|
||||
- [Github Repository](https://github.com/Monstra/monstra-library)
|
||||
- [Site](http://gelato.monstra.org)
|
||||
- [Github Repository](https://github.com/Monstra/gelato-library)
|
||||
|
||||
Copyright (C) 2012-2013 Romanenko Sergey / Awilum [awilum@msn.com]
|
||||
Copyright (C) 2013 Romanenko Sergey / Awilum [awilum@msn.com]
|
@@ -38,7 +38,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class Orm
|
||||
class orm
|
||||
{
|
||||
// ----------------------- //
|
||||
// --- CLASS CONSTANTS --- //
|
@@ -1,4 +1,5 @@
|
||||
User-agent: *
|
||||
Disallow: /admin/
|
||||
Disallow: /monstra/
|
||||
Disallow: /engine/
|
||||
Disallow: /libraries/
|
||||
Disallow: /plugins/
|
Reference in New Issue
Block a user