mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Switch PHPMailer, MoovRelocator, Zend Gdata, TCPDF, Oauth2, PhlickR, PHPShortener from git submodules to Composer
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/../../../vendor/oauth2/lib/OAuth2.inc';
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
|
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . "/../../../../lib/vendor/oauth2/lib/OAuth2.inc";
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
/**
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../../../../vendor/moov/relocator.class.php';
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
|
@@ -188,9 +188,6 @@ class mail
|
||||
|
||||
public static function validateEmail($email)
|
||||
{
|
||||
$registry = registry::get_instance();
|
||||
require_once($registry->get('GV_RootPath') . 'lib/vendor/PHPMailer_v5.1/class.phpmailer.php');
|
||||
|
||||
return PHPMailer::ValidateAddress($email);
|
||||
}
|
||||
|
||||
@@ -198,7 +195,6 @@ class mail
|
||||
{
|
||||
|
||||
$registry = registry::get_instance();
|
||||
require_once($registry->get('GV_RootPath') . 'lib/vendor/PHPMailer_v5.1/class.phpmailer.php');
|
||||
|
||||
if (!isset($to['email']) || !PHPMailer::ValidateAddress($to['email']))
|
||||
|
||||
|
Reference in New Issue
Block a user