Updated to KH 3.3 and improved

This commit is contained in:
Deon George
2013-04-13 16:17:56 +10:00
parent 6f50463ec7
commit 6f7913d363
1551 changed files with 96188 additions and 29813 deletions

View File

@@ -1,21 +0,0 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* lnApp authentication configuration
*
* @package lnApp
* @category Configuration
* @author Deon George
* @copyright (c) 2010 Deon George
* @license http://dev.leenooks.net/license.html
*/
return array(
'driver' => 'ORM',
'hash_method' => 'md5',
'salt_pattern' => '1, 3, 5, 9, 14, 15, 20, 21, 28, 30',
'lifetime' => 1209600,
'session_key' => 'auth_user',
'forced_key' => 'auth_forced',
);
?>

View File

@@ -1,23 +0,0 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* lnApp Configuration - Cache Driver
*
* @package lnApp
* @subpackage Cache
* @category Configuration
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team
* @license http://phptsmadmin.sf.net/license.html
*/
return array
(
'file' => array
(
'driver' => 'file',
'cache_dir' => Kohana::$cache_dir ? Kohana::$cache_dir : '/dev/shm/lnapp',
'default_expire' => 3600,
)
);
?>

View File

@@ -1,37 +1,17 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* lnApp system default configurable items.
* Redir system default configurable items.
*
* @package lnApp
* @package Redir
* @category Configuration
* @author Deon George
* @copyright (c) 2010 Deon George
* @copyright (c) 2010-2013 Deon George
* @license http://dev.leenooks.net/license.html
*/
return array(
'defaultfile' => 'file:///var/www/html/index.html',
'cache_type' => 'file',
'date_format' => 'd-M-Y',
'email_admin_only'=> array(
'adsl_traffic_notice'=>array('deon@c5t61p.leenooks.vpn'=>'Deon George'),
),
'method_directory'=> array( // Out method paths for the different functions
'admin',
'affiliate',
'reseller',
'task',
'user',
),
'method_security' => TRUE, // Enables Method Security. Setting to false means any method can be run without authentication
'site' => array(
'172.31.9.4'=>1,
'www.graytech.net.au'=>1,
),
'site_debug' => FALSE,
'site_mode' => array(
'172.31.10.200'=>Kohana::DEVELOPMENT,
'www.graytech.net.au'=>Kohana::PRODUCTION,
),
'site_name' => 'lnApp',
);
?>

View File

@@ -3,10 +3,10 @@
/**
* lnApp Database configuration
*
* @package lnApp
* @package Redir
* @category Configuration
* @author Deon George
* @copyright (c) 2010 Deon George
* @copyright (c) 2010-2013 Deon George
* @license http://dev.leenooks.net/license.html
*/
@@ -14,7 +14,7 @@ return array
(
'default' => array
(
'type' => 'mysql',
'type' => 'MySQL',
'connection' => array(
/**
* The following options are available for MySQL: