Skip to content

Commit 9f8f271

Browse files
author
Bertrand Dunogier
committed
Doc & headers update
1 parent c3050e8 commit 9f8f271

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

INSTALL.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,16 @@ The first entry, `ClusteringSettings.FileHandler` sets eZDFS as the cluster hand
5353

5454
## Set the cluster gateway ##
5555

56-
Edit / create the `config.cluster.php` file at the eZ Publish root. Add these lines to it:
56+
Copy the provided example file config.cluster.php-RECOMMENDED from the extension to the eZ Publish root:
57+
58+
```
59+
cp extension/ezpostgresqlcluster/config.cluster.php-RECOMMENDED config.cluster.php
60+
```
61+
62+
then edit the file to match your database and NFS configuration:
5763

5864
```php
59-
define( 'CLUSTER_STORAGE_GATEWAY_PATH', 'ezpostgresqlcluster/clustering/dfs/gateway.php' );
65+
define( 'CLUSTER_STORAGE_GATEWAY_PATH', 'extension/ezpostgresqlcluster/clustering/dfs/gateway.php' );
6066

6167
define( 'CLUSTER_STORAGE_BACKEND', 'dfspostgresql' );
6268
define( 'CLUSTER_STORAGE_HOST', 'localhost' );
@@ -68,7 +74,7 @@ define( 'CLUSTER_STORAGE_CHARSET', 'utf8' );
6874
define( 'CLUSTER_MOUNT_POINT_PATH', '/media/nfs' );
6975
```
7076

71-
The first liine sets the `CLUSTER_STORAGE_GATEWAY_PATH` constants, that provides the path to a custom gateway implementation file.
77+
The first liine sets the `CLUSTER_STORAGE_GATEWAY_PATH` constant that provides the path to a custom gateway implementation file.
7278

7379
Extra documentation about these settings can be found in the online documentation.
7480

clustering/dfs/ezpostsgresqlbackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* File containing the eZDFSFileHandlerPostgresqlBackend class.
44
*
5-
* @copyright Copyright (C) 1999-2010 eZ Systems AS. All rights reserved.
5+
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
66
* @license http://ez.no/licenses/gnu_gpl GNU GPL v2
77
* @version //autogentag//
88
* @package Cluster

extension.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<name>eZ PostgreSQL Cluster</name>
55
<version>//autogentag//</version>
6-
<copyright>Copyright (C) 1999-2010 eZ Systems AS</copyright>
6+
<copyright>Copyright (C) 1999-2012 eZ Systems AS</copyright>
77
<license>//EZP_LICENSE//</license>
88
<info_url>http://github.com/ezsystems/ezpostgresqlcluster</info_url>
99

0 commit comments

Comments
 (0)