Enabled login
This commit is contained in:
29
application/config/auth.php
Normal file
29
application/config/auth.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* PTA Configuration - Authentication Driver
|
||||
*
|
||||
* @package PTA
|
||||
* @subpackage TSM
|
||||
* @category Configuration
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 phpTSMadmin Development Team
|
||||
* @license http://phptsmadmin.sf.net/license.html
|
||||
*/
|
||||
|
||||
return array(
|
||||
|
||||
'driver' => 'ORM',
|
||||
'hash_method' => 'sha1',
|
||||
'salt_pattern' => '1, 3, 5, 9, 14, 15, 20, 21, 28, 30',
|
||||
'lifetime' => 1209600,
|
||||
'session_key' => 'admin_name',
|
||||
'forced_key' => 'auth_forced',
|
||||
|
||||
// Username/password combinations for the Auth File driver
|
||||
'users' => array(
|
||||
// 'admin' => 'b3154acf3a344170077d11bdb5fff31532f679a1919e716a02',
|
||||
),
|
||||
|
||||
);
|
||||
?>
|
33
application/config/config.php
Normal file
33
application/config/config.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* PTA system default configurable items.
|
||||
*
|
||||
* @package PTA
|
||||
* @category Configuration
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 phpTSMadmin Development Team
|
||||
* @license http://phptsmadmin.sf.net/license.html
|
||||
*/
|
||||
|
||||
return array(
|
||||
'cache_type' => 'file',
|
||||
'client' => '/opt/tivoli/tsm/client/ba/bin/dsmadmc',
|
||||
'client_errorlogname' => '/tmp/pta-tsm-errorlog.log',
|
||||
'date_format' => 'd-m-Y',
|
||||
'email_admin_only'=> array(
|
||||
'method'=>array('wurley@users.sf.net'=>'Deon George'),
|
||||
),
|
||||
'method_directory'=> array( // Out method paths for the different functions
|
||||
),
|
||||
'method_security' => TRUE, // Enables Method Security. Setting to false means any method can be run without authentication
|
||||
'site' => array(
|
||||
'172.31.9.4'=>1,
|
||||
),
|
||||
'site_debug' => FALSE,
|
||||
'site_mode' => array(
|
||||
'172.31.9.4'=>Kohana::DEVELOPMENT,
|
||||
'phptsmadmin.sf.net'=>Kohana::PRODUCTION,
|
||||
)
|
||||
);
|
||||
?>
|
43
application/config/database.php
Normal file
43
application/config/database.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php defined('SYSPATH') or die('No direct access allowed.');
|
||||
|
||||
/**
|
||||
* PTA Configuration - TSM Client
|
||||
*
|
||||
* @package PTA
|
||||
* @subpackage TSM
|
||||
* @category Configuration
|
||||
* @author Deon George
|
||||
* @copyright (c) 2010 phpTSMadmin Development Team
|
||||
* @license http://phptsmadmin.sf.net/license.html
|
||||
*/
|
||||
|
||||
return array
|
||||
(
|
||||
'default' => array
|
||||
(
|
||||
'type' => 'tsm',
|
||||
'connection' => array(
|
||||
/**
|
||||
* The following options are available for MySQL:
|
||||
*
|
||||
* string hostname server hostname, or socket
|
||||
* string database database name
|
||||
* string username database username
|
||||
* string password database password
|
||||
* boolean persistent use persistent connections?
|
||||
*
|
||||
* Ports and sockets may be appended to the hostname.
|
||||
*/
|
||||
'hostname' => 'localhost',
|
||||
'database' => 'kohana',
|
||||
'username' => FALSE,
|
||||
'password' => FALSE,
|
||||
'persistent' => FALSE,
|
||||
),
|
||||
'table_prefix' => '',
|
||||
'charset' => 'utf8',
|
||||
'caching' => FALSE,
|
||||
'profiling' => TRUE,
|
||||
),
|
||||
);
|
||||
?>
|
Reference in New Issue
Block a user