1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-02 11:20:52 +02:00

Core Improvements: Next Round #79 #80

This commit is contained in:
Awilum
2013-01-06 18:50:50 +02:00
parent 5e332c4a52
commit 0f59fa83fc
9 changed files with 18 additions and 18 deletions

View File

@@ -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) 2. Donate to keep Monstra free. We will add you to Monstra [Sponsors Page.](http://monstra.org/about/sponsors)
3. Develop a new plugin. 3. Develop a new plugin.
4. Create a new theme. 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). 6. Link back to [Monstra](http://monstra.org).

View File

@@ -114,7 +114,7 @@ class Core
// Init ORM // Init ORM
if (defined('MONSTRA_DB_DSN')) { 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(MONSTRA_DB_DSN);
Orm::configure('username', MONSTRA_DB_USER); Orm::configure('username', MONSTRA_DB_USER);
Orm::configure('password', MONSTRA_DB_PASSWORD); Orm::configure('password', MONSTRA_DB_PASSWORD);

View File

@@ -1,4 +1,4 @@
<?php <?php defined('MONSTRA_ACCESS') or die('No direct script access.');
/** /**
* Monstra Library * Monstra Library

View File

@@ -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, * This source file is part of the Monstra Library. More information,
* documentation and tutorials can be found at http://library.monstra.org * documentation and tutorials can be found at http://library.monstra.org

View File

@@ -61,5 +61,4 @@ if (file_exists('install.php')) {
// Flush (send) the output buffer and turn off output buffering // Flush (send) the output buffer and turn off output buffering
ob_end_flush(); ob_end_flush();
} }

View File

@@ -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? * loaded?
*/ */
if ( ! defined('GELATO_LIBRARY_AUTOLOADER')) { if ( ! defined('GELATO_AUTOLOADER')) {
define('GELATO_LIBRARY_AUTOLOADER', true); define('GELATO_AUTOLOADER', true);
} }
/** /**
* Register autoload function * Register autoload function
*/ */
if (GELATO_LIBRARY_AUTOLOADER) { if (GELATO_AUTOLOADER) {
spl_autoload_register(array('Gelato', 'autoload')); 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'; const VERSION = '1.0.0';

View File

@@ -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 ## Links
- [Site](http://library.monstra.org) - [Site](http://gelato.monstra.org)
- [Github Repository](https://github.com/Monstra/monstra-library) - [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]

View File

@@ -38,7 +38,7 @@
* *
*/ */
class Orm class orm
{ {
// ----------------------- // // ----------------------- //
// --- CLASS CONSTANTS --- // // --- CLASS CONSTANTS --- //

View File

@@ -1,4 +1,5 @@
User-agent: * User-agent: *
Disallow: /admin/ Disallow: /admin/
Disallow: /monstra/ Disallow: /engine/
Disallow: /libraries/
Disallow: /plugins/ Disallow: /plugins/