|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 27.09 GB of 70.42 GB (38.47%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
http/
guitar/
modules/
amazons3/
- dr-xr-xr-x
|
Viewing file: amazons3.api.php (1.33 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php
/** * @file * This file contains no working PHP code; it exists to provide additional * documentation for doxygen as well as to document hooks in the standard * Drupal manner. */
/** * @defgroup amazons3_hooks AmazonS3 hooks * Hooks that can be implemented by other modules in order to extend AmazonS3. */
/** * Allows other modules to change the format and options used when * creating an external URL. For example the URL can be a URL directly to the * file, or can be a URL to a torrent. In addition, it can be authenticated * (time limited), and in that case a save-as can be forced. * @param $local_path * The local filesystem path. * @param $info * Array of keyed elements: * - 'download_type': either 'http' or 'torrent'. * - 'torrent': (boolean) Causes use of an authenticated URL (time limited) * - 'presigned_url_timeout': (boolean) Time in seconds before an authenticated URL will time out. * - 'response': array of additional options as described at * http://docs.amazonwebservices.com/AWSSDKforPHP/latest/index.html#m=AmazonS3/get_object_url * @return * The modified array of configuration items. */ function hook_amazons3_url_info($local_path, $info) { if ($local_path == 'myfile.jpg') { $info['presigned_url'] = TRUE; $info['presigned_url_timeout'] = 10; } return $info; }
|