Changeset 601
- Timestamp:
- 05/24/07 23:54:19
(1 year ago)
- Author:
- raphael
- Message:
Fixed #287: choosing DIR not working when adding a new ftp-user
Fixed #308: variable declaration during the setup
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r598 |
r601 |
|
| 10 | 10 | | * gui: disable stats-alias in client menu | |
|---|
| 11 | 11 | \_________________________________________________________________/ |
|---|
| | 12 | |
|---|
| | 13 | 2007-05-24 Raphael Geissert |
|---|
| | 14 | - GUI |
|---|
| | 15 | * Fixed #287: choosing DIR not working when adding a new ftp-user |
|---|
| | 16 | - SETUP |
|---|
| | 17 | * Fixed #308: variable declaration during the setup |
|---|
| 12 | 18 | |
|---|
| 13 | 19 | 2007-05-20 Benedikt Heintel |
|---|
| r600 |
r601 |
|
| 1410 | 1410 | push_el(\@main::el, 'setup_resolver()', 'Starting...'); |
|---|
| 1411 | 1411 | |
|---|
| 1412 | | my $data = "nameserver 127.0.0.1\n"; |
|---|
| | 1412 | $data = "nameserver 127.0.0.1\n"; |
|---|
| 1413 | 1413 | |
|---|
| 1414 | 1414 | if ($main::cfg{'SECONDARY_DNS'} ne '') { |
|---|
| r474 |
r601 |
|
| 113 | 113 | $this->_domain = $domain; |
|---|
| 114 | 114 | $this->_db =& $db; |
|---|
| | 115 | putenv("TMPDIR=" . VFS_TMP_DIR); |
|---|
| 115 | 116 | } |
|---|
| 116 | 117 | |
|---|
| … | … | |
| 198 | 199 | function open() { |
|---|
| 199 | 200 | // Check if we're already open |
|---|
| 200 | | if ( $this->_handle ) { |
|---|
| | 201 | if ( is_resource($this->_handle) ) { |
|---|
| 201 | 202 | return true; |
|---|
| 202 | 203 | } |
|---|
| … | … | |
| 217 | 218 | // $this->_domain would work on all situations |
|---|
| 218 | 219 | $this->_handle = @ftp_connect('localhost'); |
|---|
| 219 | | if ( !$this->_handle ) { |
|---|
| | 220 | if ( !is_resource($this->_handle) ) { |
|---|
| 220 | 221 | $this->close(); |
|---|
| 221 | 222 | } |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>