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
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
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';
22 + $this->_dir = '/var/lib/gallery/g2data';