Fixed some verifiers

feature/node-rewrite
Sven Slootweg 13 years ago
parent d5472da07e
commit a5cb8ed590

@ -11,6 +11,8 @@
* licensing text. * licensing text.
*/ */
if(!isset($_CVM)) { die("Unauthorized."); }
$_CPHP = true; $_CPHP = true;
require("cphp/base.php"); require("cphp/base.php");
require("include.exceptions.php"); require("include.exceptions.php");

@ -11,6 +11,8 @@
* licensing text. * licensing text.
*/ */
if(!isset($_CVM)) { die("Unauthorized."); }
class SshConnectException extends Exception {} class SshConnectException extends Exception {}
class SshAuthException extends Exception {} class SshAuthException extends Exception {}
class SshCommandException extends Exception {} class SshCommandException extends Exception {}

@ -11,6 +11,8 @@
* licensing text. * licensing text.
*/ */
if(!isset($_CVM)) { die("Unauthorized."); }
function split_whitespace($input) function split_whitespace($input)
{ {
return preg_split("/\s+/", $input); return preg_split("/\s+/", $input);

Loading…
Cancel
Save