Changeset 10621 for trunk/Padre/lib/Padre/Constant.pm
- Timestamp:
- 02/08/10 03:51:35 (2 years ago)
- File:
-
- 1 edited
-
trunk/Padre/lib/Padre/Constant.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Constant.pm
r10615 r10621 102 102 ); 103 103 104 use constant LOG_FILE => File::Spec->catfile( CONFIG_DIR, 'debug.log' );105 use constant PLUGIN_DIR => File::Spec->catdir( CONFIG_DIR, 'plugins' );106 use constant PLUGIN_LIB => File::Spec->catdir( PLUGIN_DIR, 'Padre', 'Plugin' );104 use constant LOG_FILE => File::Spec->catfile( CONFIG_DIR, 'debug.log' ); 105 use constant PLUGIN_DIR => File::Spec->catdir( CONFIG_DIR, 'plugins' ); 106 use constant PLUGIN_LIB => File::Spec->catdir( PLUGIN_DIR, 'Padre', 'Plugin' ); 107 107 use constant CONFIG_HOST => File::Spec->catfile( CONFIG_DIR, 'config.db' ); 108 108 use constant CONFIG_HUMAN => File::Spec->catfile( CONFIG_DIR, 'config.yml' ); … … 112 112 # so we can run it again later if needed. 113 113 sub init { 114 114 115 # Check and create the directories that need to exist 115 116 unless ( -e CONFIG_DIR or File::Path::mkpath(CONFIG_DIR) ) { … … 140 141 # NOTE: The only reason this is here is that it is needed both during 141 142 # main configuration, and also during Padre::Startup. 142 use constant DEFAULT_SINGLEINSTANCE => ( 143 WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) 144 ) ? 1 : 0; 143 use constant DEFAULT_SINGLEINSTANCE => ( WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) ) ? 1 : 0; 145 144 146 145 use constant DEFAULT_SINGLEINSTANCE_PORT => 4444;
Note: See TracChangeset
for help on using the changeset viewer.
