]> git.pld-linux.org Git - packages/gallery.git/blame - gallery-setup.patch
- put g2data to /var/lib/gallery
[packages/gallery.git] / gallery-setup.patch
CommitLineData
ece7b8ef
ER
1--- gallery2/install/steps/DatabaseSetupStep.class 2006-07-27 11:34:42.000000000 +0300
2+++ /home/glen/DatabaseSetupStep.class 2006-08-27 16:22:10.733076039 +0300
3@@ -31,9 +33,9 @@
4 $this->_config = $galleryStub->getConfig('storage.config');
5 if (empty($this->_config)) {
6 $this->_config = array();
7- $this->_config['type'] = 'mysqlt';
8+ $this->_config['type'] = 'mysqlt';
9 $this->_config['hostname'] = 'localhost';
10- $this->_config['username'] = 'root';
11+ $this->_config['username'] = 'mysql';
12 $this->_config['password'] = '';
13 $this->_config['database'] = 'gallery2';
14 $this->_config['tablePrefix'] = 'g2_';
15--- gallery2/install/steps/StorageSetupStep.class 2006-07-27 11:34:42.000000000 +0300
16+++ /home/glen/StorageSetupStep.class 2006-08-27 16:22:10.753076488 +0300
17@@ -29,7 +31,7 @@
18 if (empty($this->_dir)) {
19 $this->_dir = $galleryStub->getConfig('data.gallery.base');
20 if (empty($this->_dir)) {
21- $this->_dir = $_SESSION['configPath'] . DIRECTORY_SEPARATOR . 'g2data';
ea6ad6ff 22+ $this->_dir = '/var/lib/gallery';
ece7b8ef
ER
23 }
24 }
25
This page took 0.034346 seconds and 4 git commands to generate.