mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Switch PHPMailer, MoovRelocator, Zend Gdata, TCPDF, Oauth2, PhlickR, PHPShortener from git submodules to Composer
This commit is contained in:
24
.gitmodules
vendored
24
.gitmodules
vendored
@@ -4,36 +4,12 @@
|
||||
[submodule "lib/vendor/exiftool"]
|
||||
path = lib/vendor/exiftool
|
||||
url = git://github.com/alchemy-fr/exiftool.git
|
||||
[submodule "lib/vendor/fpdf"]
|
||||
path = lib/vendor/fpdf
|
||||
url = git://github.com/alchemy-fr/fpdf.git
|
||||
[submodule "lib/vendor/gdata"]
|
||||
path = lib/vendor/gdata
|
||||
url = git://github.com/alchemy-fr/gdata.git
|
||||
[submodule "lib/vendor/moov"]
|
||||
path = lib/vendor/moov
|
||||
url = git://github.com/alchemy-fr/MoovRelocator.git
|
||||
[submodule "lib/vendor/oauth2"]
|
||||
path = lib/vendor/oauth2
|
||||
url = git://github.com/alchemy-fr/oauth2-php.git
|
||||
[submodule "lib/vendor/Phlickr"]
|
||||
path = lib/vendor/Phlickr
|
||||
url = git://github.com/alchemy-fr/Phlickr.git
|
||||
[submodule "lib/vendor/PHPMailer_v5.1"]
|
||||
path = lib/vendor/PHPMailer_v5.1
|
||||
url = git://github.com/alchemy-fr/PHPMailer_v5.1.git
|
||||
[submodule "lib/vendor/PHPShortener"]
|
||||
path = lib/vendor/PHPShortener
|
||||
url = git://github.com/alchemy-fr/PHPShortener.git
|
||||
[submodule "lib/vendor/recaptcha"]
|
||||
path = lib/vendor/recaptcha
|
||||
url = git://github.com/alchemy-fr/recaptcha.git
|
||||
[submodule "lib/vendor/sphinx"]
|
||||
path = lib/vendor/sphinx
|
||||
url = git://github.com/alchemy-fr/SphinxSearch-PHP-SDK.git
|
||||
[submodule "lib/vendor/tcpdf"]
|
||||
path = lib/vendor/tcpdf
|
||||
url = git://github.com/alchemy-fr/tcpdf.git
|
||||
[submodule "www/include/vendor/humane-js"]
|
||||
path = www/include/vendor/humane-js
|
||||
url = https://github.com/wavded/humane-js.git
|
||||
|
@@ -1,50 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @package OAuth2 Connector
|
||||
*
|
||||
* @see http://oauth.net/2/
|
||||
* @uses http://code.google.com/p/oauth2-php/
|
||||
*
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
class API_OAuth2_Autoloader
|
||||
{
|
||||
|
||||
/**
|
||||
* Registers Oauth2_Autoloader as an SPL autoloader.
|
||||
*/
|
||||
static public function register()
|
||||
{
|
||||
ini_set('unserialize_callback_func', 'spl_autoload_call');
|
||||
spl_autoload_register(array(new self, 'autoload'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles autoloading of classes.
|
||||
*
|
||||
* @param string $class A class name.
|
||||
*
|
||||
* @return boolean Returns true if the class has been loaded
|
||||
*/
|
||||
static public function autoload($class)
|
||||
{
|
||||
if (file_exists($file = __DIR__ . '/../../../vendor/oauth2/lib/' . str_replace(array('_', "\0"), array('/', ''), $class) . '.inc'))
|
||||
{
|
||||
require $file;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/../vendor/PHPShortener/phpshortener.class.php';
|
Reference in New Issue
Block a user