CC-3297: Depend on zendframework and php-pear as external packages
-removed pear files
This commit is contained in:
parent
c229097470
commit
51e181b445
293 changed files with 7 additions and 105114 deletions
|
@ -52,10 +52,7 @@ $CC_CONFIG = array(
|
|||
'soundcloud-connection-wait' => $values['soundcloud']['time_between_retries'],
|
||||
|
||||
"rootDir" => __DIR__."/../..",
|
||||
'pearPath' => dirname(__FILE__).'/../../library/pear',
|
||||
'zendPath' => dirname(__FILE__).'/../../library/Zend',
|
||||
'phingPath' => dirname(__FILE__).'/../../library/phing',
|
||||
|
||||
'zendPath' => dirname(__FILE__).'/../../library/Zend'
|
||||
);
|
||||
|
||||
AirtimeInstall::DbConnect(true);
|
||||
|
|
|
@ -35,9 +35,7 @@ $CC_CONFIG = array(
|
|||
'soundcloud-client-secret' => 'pZ7beWmF06epXLHVUP1ufOg2oEnIt9XhE8l8xt0bBs',
|
||||
|
||||
"rootDir" => __DIR__."/../..",
|
||||
'pearPath' => dirname(__FILE__).'/../../library/pear',
|
||||
'zendPath' => dirname(__FILE__).'/../../library/Zend',
|
||||
'phingPath' => dirname(__FILE__).'/../../library/phing'
|
||||
'zendPath' => dirname(__FILE__).'/../../library/Zend'
|
||||
);
|
||||
|
||||
$CC_CONFIG = LoadConfig($CC_CONFIG);
|
||||
|
@ -68,8 +66,7 @@ $CC_CONFIG['smembSequence'] = $CC_CONFIG['smembTable'].'_id';
|
|||
|
||||
// Add libs to the PHP path
|
||||
$old_include_path = get_include_path();
|
||||
set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['pearPath']
|
||||
.PATH_SEPARATOR.$CC_CONFIG['zendPath']
|
||||
set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['zendPath']
|
||||
.PATH_SEPARATOR.$old_include_path);
|
||||
|
||||
function LoadConfig($CC_CONFIG) {
|
||||
|
|
|
@ -36,9 +36,7 @@ $CC_CONFIG = array(
|
|||
'soundcloud-client-secret' => 'pZ7beWmF06epXLHVUP1ufOg2oEnIt9XhE8l8xt0bBs',
|
||||
|
||||
"rootDir" => __DIR__."/../..",
|
||||
'pearPath' => dirname(__FILE__).'/../../library/pear',
|
||||
'zendPath' => dirname(__FILE__).'/../../library/Zend',
|
||||
'phingPath' => dirname(__FILE__).'/../../library/phing'
|
||||
'zendPath' => dirname(__FILE__).'/../../library/Zend'
|
||||
);
|
||||
|
||||
$CC_CONFIG = LoadConfig($CC_CONFIG);
|
||||
|
@ -69,8 +67,7 @@ $CC_CONFIG['smembSequence'] = $CC_CONFIG['smembTable'].'_id';
|
|||
|
||||
// Add libs to the PHP path
|
||||
$old_include_path = get_include_path();
|
||||
set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['pearPath']
|
||||
.PATH_SEPARATOR.$CC_CONFIG['zendPath']
|
||||
set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['zendPath']
|
||||
.PATH_SEPARATOR.$old_include_path);
|
||||
|
||||
function LoadConfig($CC_CONFIG) {
|
||||
|
|
|
@ -18,9 +18,7 @@ $CC_CONFIG = array(
|
|||
'soundcloud-client-secret' => 'pZ7beWmF06epXLHVUP1ufOg2oEnIt9XhE8l8xt0bBs',
|
||||
|
||||
"rootDir" => __DIR__."/../..",
|
||||
'pearPath' => dirname(__FILE__).'/../../../airtime_mvc/library/pear',
|
||||
'zendPath' => dirname(__FILE__).'/../../../airtime_mvc/library/Zend',
|
||||
'phingPath' => dirname(__FILE__).'/../../../airtime_mvc/library/phing'
|
||||
'zendPath' => dirname(__FILE__).'/../../../airtime_mvc/library/Zend'
|
||||
);
|
||||
|
||||
$CC_CONFIG = Config::loadConfig($CC_CONFIG);
|
||||
|
@ -51,8 +49,7 @@ $CC_CONFIG['smembSequence'] = $CC_CONFIG['smembTable'].'_id';
|
|||
|
||||
// Add libs to the PHP path
|
||||
$old_include_path = get_include_path();
|
||||
set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['pearPath']
|
||||
.PATH_SEPARATOR.$CC_CONFIG['zendPath']
|
||||
set_include_path('.'.PATH_SEPARATOR.$CC_CONFIG['zendPath']
|
||||
.PATH_SEPARATOR.$old_include_path);
|
||||
|
||||
class Config {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue