Fixes to work with KH 3.3

This commit is contained in:
Deon George
2012-11-26 16:57:18 +11:00
parent 5bd1841571
commit fc2ffd7bad
97 changed files with 5459 additions and 578 deletions

View File

@@ -4,6 +4,7 @@
* PTA Configuration - Authentication Driver
*
* @package PTA
* @subpackage Authentication
* @category Configuration
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team

View File

@@ -1,9 +1,9 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* lnApp Configuration - Cache Driver
* PTA Configuration - Cache Driver
*
* @package lnApp
* @package PTA
* @subpackage Cache
* @category Configuration
* @author Deon George
@@ -11,13 +11,22 @@
* @license http://phptsmadmin.sf.net/license.html
*/
return array
(
'file' => array
(
return array(
'apc' => array(
'driver' => 'apc',
'default_expire' => 3600,
),
'file' => array(
'driver' => 'file',
'cache_dir' => Kohana::$cache_dir ? Kohana::$cache_dir : '/dev/shm/lnapp',
'default_expire' => 3600,
)
'ignore_on_delete' => array(
'.gitignore',
'.git',
'.htaccess',
'.svn'
)
),
);
?>

View File

@@ -13,7 +13,7 @@
return array(
'cache_type' => 'file',
'client' => '/opt/tivoli/tsm/client/ba/bin/dsmadmc',
'client_type' => 'db2',
'client_type' => 'dsmadmc',
'client_errorlogname' => '/tmp/pta-tsm-errorlog.log',
'date_format' => 'd-m-Y',
'tsmdatatypes' => array('Bkup'=>'BACKUP','Arch'=>'ARCHIVE'),
@@ -28,9 +28,10 @@ return array(
),
'method_security' => TRUE, // Enables Method Security. Setting to false means any method can be run without authentication
'site' => array(
'mode' => Kohana::PRODUCTION,
),
'site_debug' => FALSE,
'site_mode' => array(
)
'site_name' => 'phpTSMadmin',
'theme' => 'yaml',
);
?>

View File

@@ -0,0 +1,20 @@
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* PTA Configuration - Debug Settings
*
* @package PTA
* @subpackage Debug
* @category Configuration
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team
* @license http://phptsmadmin.sf.net/license.html
*/
return array
(
'ajax'=>FALSE, // AJAX actions can only be run by ajax calls if set to FALSE
'etag'=>FALSE, // Force generating ETAGS
'task_sim'=>FALSE, // Simulate running tasks
);
?>