You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
Index: src/Configuration.cpp
|
|
|
|
|
--- src/Configuration.cpp.orig 2008-03-29 14:02:36 +0100
|
|
|
|
|
+++ src/Configuration.cpp 2008-12-25 18:19:19 +0100
|
|
|
|
|
@@ -21,6 +21,8 @@
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
+#include "config.h"
|
|
|
|
|
+
|
|
|
|
|
#include "IniFile.hpp"
|
|
|
|
|
#include "Util.hpp"
|
|
|
|
|
|
|
|
|
|
@@ -81,7 +83,11 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
suPHP::Configuration::Configuration() {
|
|
|
|
|
+#ifdef OPT_LOGFILE
|
|
|
|
|
+ this->logfile = OPT_LOGFILE;
|
|
|
|
|
+#else
|
|
|
|
|
this->logfile = "/var/log/suphp.log";
|
|
|
|
|
+#endif
|
|
|
|
|
#ifdef OPT_APACHE_USER
|
|
|
|
|
this->webserver_user = OPT_APACHE_USER;
|
|
|
|
|
#else
|
|
|
|
|
Index: src/apache2/mod_suphp.c
|
|
|
|
|
--- src/apache2/mod_suphp.c.orig 2007-03-14 15:50:55 +0100
|
|
|
|
|
+++ src/apache2/mod_suphp.c 2008-12-25 18:19:19 +0100
|
|
|
|
|
@@ -111,7 +111,7 @@
|
|
|
|
|
#define SUPHP_ENGINE_UNDEFINED 2
|
|
|
|
|
|
|
|
|
|
#ifndef SUPHP_PATH_TO_SUPHP
|
|
|
|
|
-#define SUPHP_PATH_TO_SUPHP "/usr/sbin/suphp"
|
|
|
|
|
+#define SUPHP_PATH_TO_SUPHP "@l_prefix@/sbin/suphp"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
typedef struct {
|