From: Mark Huang Date: Mon, 10 Jul 2006 21:08:46 +0000 (+0000) Subject: - generate old /etc/planetlab/site_constants.php here X-Git-Tag: planetlab-4_0-rc1~148 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c6f7b5c0edda5d2e0a9b97ca52fdb10f8463f824;p=myplc.git - generate old /etc/planetlab/site_constants.php here --- diff --git a/plc.d/httpd b/plc.d/httpd index 9741e82..45e6234 100755 --- a/plc.d/httpd +++ b/plc.d/httpd @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: httpd,v 1.2 2006/04/25 21:18:19 mlhuang Exp $ +# $Id: httpd,v 1.3 2006/06/23 20:29:22 mlhuang Exp $ # # Source function library and configuration @@ -130,6 +130,28 @@ EOF # Make alpina-logs directory writable for bootmanager log upload chown apache:apache $DocumentRoot/alpina-logs/nodes + # Old style PHP constants + mkdir -p /etc/planetlab/php + cat >/etc/planetlab/php/site_constants.php <<"EOF" +'); +define('PLANETLAB_SUPPORT_EMAIL_ONLY', PLC_MAIL_SUPPORT_ADDRESS); +?> +EOF + plc_daemon httpd check