forked from rafalosinski/kohana-gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ftp.php
executable file
·28 lines (27 loc) · 924 Bytes
/
ftp.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php defined('SYSPATH') or die('No direct access allowed.');
return array
(
'default' => array
(
/**
* The following options are available for FTP:
*
* string host server hostname
* string username server username
* string password server password
* int port server port
* boolean passive use passive connections?
* string docroot server path to your doman directory example: '/public_html/domain.com' (with first slash '/' and without last slash '/' )
* string docdir path to your upload directory example: 'data/upload/' (without first slash / )
*/
'host' => 'hostname', // change this
'user' => 'usename', // change this
'password' => 'password', // change this
'port' => 21,
'passive' => TRUE,
'ssh' => FALSE,
'timeout' => 90,
'docroot' => '/public_html/domain.com', // change this
'docdir' => 'data/uploads', // change this
),
);