1 --- install/steps/DatabaseSetupStep.class.orig 2007-03-17 18:35:42.000000000 +0100
2 +++ install/steps/DatabaseSetupStep.class 2007-03-17 18:38:53.000000000 +0100
4 $this->_config = array();
5 $this->_config['type'] = 'mysqlt';
6 $this->_config['hostname'] = 'localhost';
7 - $this->_config['username'] = 'root';
8 + $this->_config['username'] = 'mysql';
9 $this->_config['password'] = '';
10 $this->_config['database'] = 'gallery2';
11 $this->_config['tablePrefix'] = 'g2_';
12 --- install/steps/StorageSetupStep.class.orig 2007-03-17 18:37:13.000000000 +0100
13 +++ install/steps/StorageSetupStep.class 2007-03-17 18:39:22.000000000 +0100
15 if (empty($this->_dir)) {
16 $this->_dir = $galleryStub->getConfig('data.gallery.base');
17 if (empty($this->_dir)) {
18 - $this->_dir = $_SESSION['configPath'] . DIRECTORY_SEPARATOR . 'g2data';
19 + $this->_dir = '/var/lib/gallery';