Changeset 25001
- Timestamp:
- 02/04/10 10:28:17 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ragnaroek/midgard/data/midgard/setup/php/midgard_setup_pear.php
r23575 r25001 33 33 private $midcom_channel_base; 34 34 private $htmlpurifier_channel; 35 private $firephp_channel; 35 36 private $initial_base_packages; 36 37 private $initial_midgard_packages = array(); … … 60 61 61 62 $this->htmlpurifier_channel = "htmlpurifier.org"; 63 $this->firephp_channel = "pear.firephp.org"; 62 64 63 65 $this->initial_base_packages = array … … 627 629 } 628 630 631 /* discover firephp */ 632 if (!$this->pear_registry->channelExists($this->firephp_channel)) 633 { 634 $ret = $this->pear_channel->doDiscover('channel-add', array(), array($this->firephp_channel)); 635 636 if(PEAR::isError($ret)) 637 { 638 midgard_setup_ui_cli::error($ret->getMessage()); 639 } 640 } 641 629 642 $this->update_channels(); 630 643 } … … 636 649 /* update midcom channel */ 637 650 $ret = $this->pear_channel->doUpdate('channel-update', array(), array($this->midcom_channel)); 638 639 651 if (PEAR::isError($ret)) 640 652 { … … 644 656 /* update htmlpurified */ 645 657 $ret = $this->pear_channel->doUpdate('channel-update', array(), array($this->htmlpurifier_channel)); 646 658 if (PEAR::isError($ret)) 659 { 660 midgard_setup_ui_cli::error($ret->getMessage()); 661 } 662 663 /* update firephp */ 664 $ret = $this->pear_channel->doUpdate('channel-update', array(), array($this->firephp_channel)); 647 665 if (PEAR::isError($ret)) 648 666 {
