Add include verification

feature/node-rewrite
Sven Slootweg 13 years ago
parent a639e71555
commit d2a0253d6e

@ -11,6 +11,8 @@
* licensing text.
*/
if(!isset($_CVM)) { die("Unauthorized."); }
$sContainerList = array();
if($result = mysql_query_cached("SELECT * FROM containers"))

@ -11,6 +11,8 @@
* licensing text.
*/
if(!isset($_CVM)) { die("Unauthorized."); }
try
{
$sUserEntry = new User($router->uParameters[1]);

@ -11,6 +11,8 @@
* licensing text.
*/
if(!isset($_CVM)) { die("Unauthorized."); }
$result = mysql_query_cached("SELECT * FROM users ORDER BY `AccessLevel` DESC");
$sUserList = array();

@ -11,6 +11,8 @@
* licensing text.
*/
if(!isset($_CVM)) { die("Unauthorized."); }
$sPageContents .= Templater::InlineRender("vps.console", $locale->strings, array(
'host' => htmlspecialchars($_SERVER['SERVER_NAME'])
));

Loading…
Cancel
Save