Index: trunk/phase3/includes/filerepo/backend/SwiftFileBackend.php |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | ); |
54 | 54 | // Optional settings |
55 | 55 | $this->authTTL = isset( $config['swiftAuthTTL'] ) |
56 | | - ? $config['authTTL'] |
| 56 | + ? $config['swiftAuthTTL'] |
57 | 57 | : 120; // some sane number |
58 | 58 | $this->swiftAnonUser = isset( $config['swiftAnonUser'] ) |
59 | 59 | ? $config['swiftAnonUser'] |
— | — | @@ -795,7 +795,7 @@ |
796 | 796 | if ( $this->dir == '' ) { // whole container |
797 | 797 | $this->suffixStart = 0; |
798 | 798 | } else { // dir within container |
799 | | - $this->suffixStart = strlen( $dir ) + 1; // size of "path/to/dir/" |
| 799 | + $this->suffixStart = strlen( $this->dir ) + 1; // size of "path/to/dir/" |
800 | 800 | } |
801 | 801 | } |
802 | 802 | |