Changeset 22771
- Timestamp:
- 07/02/09 13:47:15 (1 year ago)
- Files:
-
- trunk/external-tools/mvc_installer/bin/midgard2-install (modified) (1 diff)
- trunk/external-tools/mvc_installer/lib/installer.php (modified) (1 diff)
- trunk/external-tools/mvc_installer/lib/installer/mvc.php (modified) (1 diff)
- trunk/external-tools/mvc_installer/lib/resolver.php (modified) (1 diff)
- trunk/external-tools/mvc_installer/lib/resolver/mvc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/external-tools/mvc_installer/bin/midgard2-install
r22764 r22771 65 65 $resolver = midgard2_installer_resolver::get('pear'); 66 66 67 68 67 /* 69 68 $exporter = midgard2_installer_exporter::get('git'); trunk/external-tools/mvc_installer/lib/installer.php
r22769 r22771 25 25 26 26 /** 27 * Default constructor for now 28 */ 29 function __construct() {} 30 31 /** 27 32 * Gets a (singleton) instance of installer of given type 28 33 * trunk/external-tools/mvc_installer/lib/installer/mvc.php
r22769 r22771 5 5 class midgard2_installer_installer_mvc extends midgard2_installer_installer 6 6 { 7 /** 8 * Check for syck, all MVC components need it 9 */ 10 function __construct() 11 { 12 parent::__construct(); 13 if (!midgard2_installer_helpers::test_extension('syck')) 14 { 15 throw new midgard2_installer_runtime_exception(MGD2INST_ERROR_DEPENDENCY, 'syck extension is not available, this is required for YAML parsing'); 16 } 17 } 18 7 19 public function install($uri) 8 20 { trunk/external-tools/mvc_installer/lib/resolver.php
r22766 r22771 5 5 abstract class midgard2_installer_resolver 6 6 { 7 /** 8 * Default constructor for now 9 */ 10 function __construct() {} 11 7 12 /** 8 13 * Gets a (singleton) instance of resolver of given type trunk/external-tools/mvc_installer/lib/resolver/mvc.php
r22769 r22771 5 5 class midgard2_installer_resolver_mvc extends midgard2_installer_resolver 6 6 { 7 /** 8 * Check for syck, we need to be able to parse the config YAMLs 9 */ 10 function __construct() 11 { 12 parent::__construct(); 13 if (!midgard2_installer_helpers::test_extension('syck')) 14 { 15 throw new midgard2_installer_runtime_exception(MGD2INST_ERROR_DEPENDENCY, 'syck extension is not available, this is required for YAML parsing'); 16 } 17 } 18 7 19 public function is_installed($uri) 8 20 {
