From c6f7b5c0edda5d2e0a9b97ca52fdb10f8463f824 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Mon, 10 Jul 2006 21:08:46 +0000 Subject: [PATCH] - generate old /etc/planetlab/site_constants.php here --- plc.d/httpd | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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 -- 2.43.0