Updated paths for signatures
parent
d0e372c4dc
commit
a453e9b0ce
|
@ -14,6 +14,6 @@ RUN mkdir /usr/share/blog
|
||||||
|
|
||||||
COPY site/ /usr/share/blog
|
COPY site/ /usr/share/blog
|
||||||
|
|
||||||
RUN /usr/share/blog/build/build.sh
|
RUN /usr/share/blog/build/build.sh /usr/share/blog/data/signatures/signatures.json
|
||||||
RUN cp -a /usr/share/blog/public/* /var/www/html
|
RUN cp -a /usr/share/blog/public/* /var/www/html
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ $timer_start = microtime(true); // Start counter for PHP execution time trackin
|
||||||
$codemod = 2138367; // modificator with which the confirmation ID will be obfuscated
|
$codemod = 2138367; // modificator with which the confirmation ID will be obfuscated
|
||||||
$output = "";
|
$output = "";
|
||||||
$selfurl = "http://pmpc.mehl.mx/cgi/sign.php"; // absolute URL of this PHP script
|
$selfurl = "http://pmpc.mehl.mx/cgi/sign.php"; // absolute URL of this PHP script
|
||||||
$db = "../../signatures.json"; // Signature database path
|
$db = "/usr/share/blog/data/signatures/signatures.json"; // Signature database path
|
||||||
$ipdb = "../../ips.json"; // IP database path
|
$ipdb = "/usr/share/blog/data/signatures/ips.json"; // IP database path
|
||||||
$spamdb = "../../spammer_" . date('Y-m-d') . ".json"; // This day's potential spammer database
|
$spamdb = "/usr/share/blog/data/signatures/spammer_" . date('Y-m-d') . ".json"; // This day's potential spammer database
|
||||||
|
|
||||||
///////////////////
|
///////////////////
|
||||||
/// SPAM CHECKS ///
|
/// SPAM CHECKS ///
|
||||||
|
|
Loading…
Reference in New Issue