PHP 8.1.33
Preview: console.php Size: 858 B
/home/jambtst2015/public_html/protected/config/console.php

<?php

// This is the configuration for yiic console application.
// Any writable CConsoleApplication properties can be configured here.
return array(
	'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
	'name'=>'My Console Application',

	// preloading 'log' component
	'preload'=>array('log'),

	// application components
	'components'=>array(
		'db'=>array(
			'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
		),
		// uncomment the following to use a MySQL database
		/*
		'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=testdrive',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => '',
			'charset' => 'utf8',
		),
		*/
		'log'=>array(
			'class'=>'CLogRouter',
			'routes'=>array(
				array(
					'class'=>'CFileLogRoute',
					'levels'=>'error, warning',
				),
			),
		),
	),
);

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
858 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download
5.77 KB lrw-r--r-- 2025-11-03 11:08:45
Edit Download
3.01 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
331 B lrw-r--r-- 2024-11-22 17:53:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).