Zeus
Active Member
- Jun 30, 2012
- 150
- 30
- Thread starter
- #61
MD5 Can't be decrypted. So he won't be using it.
Correct, anyway, added some more to the hashing class, it now encrypts numbers too.
I haven't done much on the CMS today, i've been doing homework and I went out to look at fire-places. I'll do some work now, might begin the template system and get some visual work done in the next couple of days, what you guys think? ^.^
Updates
Okay, so I did a configuration file, which isn't finalised yet and things most likely will change in it. I decided to do two different templating systems, one for the front-end and the other for the dashboard. It'll make it much easier when coming to creating and adjusting styles too.Anyway, here's the config file;
PHP:
<?php
/*------------------------------------------------------------------------|
| Devour CMS - Copyright (c) Josh Priestley 2012 |
| ------------------------------------------------------------------------|
| Permission is hereby granted, free of charge, to any person obtaining a |
| copy of this software and associated documentation files |
| (the "Software"), to deal in the Software without restriction, |
| including without limitation the rights to use, copy, modify, merge, |
| publish, distribute, sublicense, and/or sell copies of the Software, |
| and to permit persons to whom the Software is furnished to do so, |
| subject to the following conditions: |
| ------------------------------------------------------------------------|
| The above copyright notice and this permission notice shall be included |
| in all copies or substantial portions of the Software. |
| ------------------------------------------------------------------------|
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| ------------------------------------------------------------------------|
/*
* Disable direct access
*/
//if(!defined('Devour')) exit ('Direct file access disallowed');
/*
* MySQLi Details
*/
$config['mysql']['host'] = 'localhost'; /* Your MySQL host */
$config['mysql']['username'] = 'root'; /* Your MySQL username */
$config['mysql']['password'] = 'hello123'; /* Your MySQL password */
$config['mysql']['database'] = 'devour'; /* Your MySQL database */
/*
* Updating
*/
$config['update']['enabled'] = '1'; /* Do you want the CMS to inform you when an update is enabled? */
/*
* Templating
*/
$config['template']['frontEnd'] = 'Devour'; /* The front end theme you want to use */
$config['template']['dashboard'] = 'Simple Dashboard v1'; /* The dashboard theme you want to use */
/*
* Plugins
*/
$config['plugins']['dashboard'] = '1'; /* Plugins enabled (just dashboard) */
$config['plugins']['frontEnd'] = '1'; /* Plugins enabled (just front end) */
$config['plugins']['frontEndUsing'] = array('Twitter','Facebook'); /* What plugins do you want to have enabled for the front end */
$config['plugins']['dashboardUsing'] = array('UserStats','EditingNews','UserMaker 1.0'); /* What plugins do you want to have enabled for dashboard? */
/*
* Site Settings
*/
$config['site']['url'] = 'http://localhost'; /* Site URL, not ending in a / */
$config['site']['name'] = 'Devour BETA'; /* Site Name */
/*
* Account Settings
*/
$config['account']['maxAcc'] = '1'; /* Maximum accounts per user */
$config['account']['defRank'] = 'Normal'; /* Default rank when a user registers */
/*
* Owner Permissions
*/
$config['owner']['username'] = 'Josh'; /* The username of the registered owner of your site */
?>
Any ideas to add/remove from it?
Thanks
- Zeus