git.cweiske.de
/
surrogator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
587520e
)
exit on config error
author
Christian Weiske
<
[email protected]
>
Thu, 16 Aug 2012 18:51:32 +0000
(20:51 +0200)
committer
Christian Weiske
<
[email protected]
>
Thu, 16 Aug 2012 18:51:32 +0000
(20:51 +0200)
surrogator.php
patch
|
blob
|
history
diff --git
a/surrogator.php
b/surrogator.php
index b9f724d05446bca7a7fee401775b68ef7b5d5e2f..a78de08c9b8efb468a1ed30fa32908f744b1e6dc 100644
(file)
--- a/
surrogator.php
+++ b/
surrogator.php
@@
-4,15
+4,19
@@
require __DIR__ . '/data/surrogator.config.php';
if (!isset($rawDir)) {
logErr('$rawDir not set');
+ exit(1);
}
if (!isset($varDir)) {
logErr('$varDir not set');
+ exit(1);
}
if (!isset($sizes)) {
logErr('$sizes not set');
+ exit(1);
}
if (!isset($maxSize)) {
logErr('$maxSize not set');
+ exit(1);
}