]> git.pld-linux.org Git - packages/gallery.git/commitdiff
This commit was manufactured by cvs2git to create branch 'AC-branch'.
authorcvs2git <feedback@pld-linux.org>
Sun, 27 Aug 2006 17:37:42 +0000 (17:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2006-05-02 20:06:41 UTC Elan Ruusamäe <glen@pld-linux.org> '- 1.5.3'
Cherrypick from master 2006-08-27 17:37:42 UTC Elan Ruusamäe <glen@pld-linux.org> '- put g2data to /var/lib/gallery':
    gallery-setup.patch -> 1.2

gallery-setup.patch [new file with mode: 0644]

diff --git a/gallery-setup.patch b/gallery-setup.patch
new file mode 100644 (file)
index 0000000..ec97c87
--- /dev/null
@@ -0,0 +1,25 @@
+--- gallery2/install/steps/DatabaseSetupStep.class     2006-07-27 11:34:42.000000000 +0300
++++ /home/glen/DatabaseSetupStep.class 2006-08-27 16:22:10.733076039 +0300
+@@ -31,9 +33,9 @@
+           $this->_config = $galleryStub->getConfig('storage.config');
+           if (empty($this->_config)) {
+               $this->_config = array();
+-              $this->_config['type'] = 'mysqlt';
++              $this->_config['type'] = 'mysqlt';
+               $this->_config['hostname'] = 'localhost';
+-              $this->_config['username'] = 'root';
++              $this->_config['username'] = 'mysql';
+               $this->_config['password'] = '';
+               $this->_config['database'] = 'gallery2';
+               $this->_config['tablePrefix'] = 'g2_';
+--- gallery2/install/steps/StorageSetupStep.class      2006-07-27 11:34:42.000000000 +0300
++++ /home/glen/StorageSetupStep.class  2006-08-27 16:22:10.753076488 +0300
+@@ -29,7 +31,7 @@
+       if (empty($this->_dir)) {
+           $this->_dir = $galleryStub->getConfig('data.gallery.base');
+           if (empty($this->_dir)) {
+-              $this->_dir = $_SESSION['configPath'] . DIRECTORY_SEPARATOR . 'g2data';
++              $this->_dir = '/var/lib/gallery';
+           }
+       }
This page took 0.079508 seconds and 4 git commands to generate.