mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
added default config-site.php
Change-Id: I2ef8a62e5a821bb7840e6c6c42c63fd6183bd8c8 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
618ac69985
commit
bf8bcc8630
@ -34,6 +34,7 @@ install:
|
||||
if [ ! -f "$(DESTDIR)$(sysconfdir)/piler/piler.conf" ]; then $(INSTALL) -m 0640 -g $(RUNNING_GROUP) $(srcdir)/piler.conf $(DESTDIR)$(sysconfdir)/piler/piler.conf; fi
|
||||
sed -e 's%LOCALSTATEDIR%$(localstatedir)%g' $(srcdir)/sphinx.conf.in > sphinx.conf.dist
|
||||
$(INSTALL) -m 0644 -g $(RUNNING_GROUP) $(srcdir)/sphinx.conf.dist $(DESTDIR)$(sysconfdir)/piler/sphinx.conf.dist
|
||||
$(INSTALL) -m 0644 -g $(RUNNING_GROUP) $(srcdir)/config-site.dist.php $(DESTDIR)$(sysconfdir)/piler/config-site.dist.php
|
||||
$(INSTALL) -m 0644 -g $(RUNNING_GROUP) $(srcdir)/cron.jobs.in $(DESTDIR)$(datarootdir)/piler/piler.cron
|
||||
sed -i -e 's%LOCALSTATEDIR%$(localstatedir)%g' $(DESTDIR)$(datarootdir)/piler/piler.cron
|
||||
sed -i -e 's%LIBEXECDIR%$(libexecdir)%g' $(DESTDIR)$(datarootdir)/piler/piler.cron
|
||||
|
11
etc/config-site.dist.php
Normal file
11
etc/config-site.dist.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$config['SITE_NAME'] = 'HOSTNAME';
|
||||
$config['SITE_URL'] = 'http://' . $config['SITE_NAME'] . '/';
|
||||
|
||||
$config['SMTP_DOMAIN'] = $config['SITE_NAME'];
|
||||
$config['SMTP_FROMADDR'] = 'no-reply@' . $config['SITE_NAME'];
|
||||
$config['ADMIN_EMAIL'] = 'admin@' . $config['SITE_NAME'];
|
||||
|
||||
$config['DB_PASSWORD'] = 'MYSQL_PASSWORD';
|
||||
|
Loading…
Reference in New Issue
Block a user