Switch PHPMailer, MoovRelocator, Zend Gdata, TCPDF, Oauth2, PhlickR, PHPShortener from git submodules to Composer

This commit is contained in:
Romain Neutron
2012-03-30 20:12:14 +02:00
parent f835ea84e8
commit 9e640c27cf
27 changed files with 63 additions and 102 deletions

View File

@@ -9,13 +9,6 @@
* file that was distributed with this source code.
*/
$include_path = realpath(__DIR__ . '/../../../../vendor/');
if(strpos(get_include_path(), $include_path) === false)
{
$new_include_path = $include_path . PATH_SEPARATOR . get_include_path();
set_include_path($new_include_path);
}
/**
*
* @package Bridge

View File

@@ -9,19 +9,8 @@
* file that was distributed with this source code.
*/
$include_path = realpath(__DIR__ . '/../../../vendor');
if (strpos(get_include_path(), $include_path . ':') === false)
{
$new_include_path = $include_path . PATH_SEPARATOR . get_include_path();
set_include_path($new_include_path);
}
use \Symfony\Component\HttpFoundation\Request;
require_once __DIR__ . "/../../../vendor/Phlickr/Api.php";
require_once __DIR__ . "/../../../vendor/Phlickr/Uploader.php";
/**
*
* @package Bridge

View File

@@ -9,19 +9,6 @@
* file that was distributed with this source code.
*/
$include_path = realpath(__DIR__ . '/../../../vendor/gdata/');
if(strpos(get_include_path(), $include_path) === false)
{
$new_include_path = $include_path . PATH_SEPARATOR . get_include_path();
set_include_path($new_include_path);
}
require_once('Zend/Loader.php');
Zend_Loader::loadClass('Zend_Gdata_YouTube');
Zend_Loader::loadClass('Zend_Gdata_HttpClient');
Zend_Loader::loadClass('Zend_Gdata_Query');
Zend_Loader::loadClass('Zend_Gdata_App_MediaFileSource');
use \Symfony\Component\HttpFoundation\Request;
/**