Crop-Config

 view release on metacpan or  search on metacpan

lib/Crop/Config.pm  view on Meta::CPAN


sub the;

=begin nd
Constant: CONF_PATH
	Directory name contains configuration files.
	
	Default value is '~/.crop'.
	Could be redefined by enviroment variable CROP_CONFIG to run several projects.
	
	To use the Apache Server You need to set 'FcgidInitialEnv CROP_CONFIG /home/ms/back/.crop' in
	Apache config file.

Constant: CONFIG_FILE
	Name of the main configuration file.

Constant: SCHEMA_FILE
	Name of the Schema file for check XML of main config.

Constant: SHEMA_ORIGIN
	The URL to original Shema.

lib/Crop/Install.pm  view on Meta::CPAN

=cut

use v5.14;
use warnings;

use IO::File;
use Pg::CLI::psql;

use constant {
# 	FCGI_TPL_PATH  => '/fcgi',
# 	FCGI_CONF_PATH => '/conf/fcgid.conf.example',
	SQL_PATH       => '/sql',
	DONE_PATH => '/steps.done',
	DEFAULT_DB     => 'main',
};

=begin nd
Constructor new ($stepname, $db)
	Remember $stepname and $db.
	
Parameters:



( run in 0.527 second using v1.01-cache-2.11-cpan-acf6aa7dc9e )