diff options
| author | root | 2014-02-24 18:54:40 +0100 |
|---|---|---|
| committer | root | 2014-02-24 18:54:40 +0100 |
| commit | 6d0a5d7096e0aee3dcb1a41a0f6c57a38876c821 (patch) | |
| tree | 04aeaeae6274332b2b755c5c2a91185eefd62955 /www/zend_init.php | |
| parent | 8d0d04245732fcadb04ccdcba8244ca78f825435 (diff) | |
| download | random-6d0a5d7096e0aee3dcb1a41a0f6c57a38876c821.tar.gz | |
.
Diffstat (limited to 'www/zend_init.php')
| -rw-r--r-- | www/zend_init.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/zend_init.php b/www/zend_init.php new file mode 100644 index 0000000..3089906 --- /dev/null +++ b/www/zend_init.php @@ -0,0 +1,10 @@ +<? +$clientLibraryPath = "../zend/library"; +$oldPath = set_include_path(get_include_path() . PATH_SEPARATOR . $clientLibraryPath); + +require_once 'Zend/Loader.php'; // the Zend dir must be in your include_path +Zend_Loader::loadClass('Zend_Gdata_YouTube'); +$yt = new Zend_Gdata_YouTube(); +$yt->setMajorProtocolVersion(2); + +return $yt; |
