mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-01 18:38:03 +00:00
wip
This commit is contained in:
@@ -44,7 +44,7 @@ $html=<<<EOT
|
|||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
$res_html=(new Forms('',$hash,$db_path))->generate();
|
$res_html=(new Forms('',$hash,$db_path))->generate();
|
||||||
$res_html='test';
|
//$res_html='test';
|
||||||
$html.='<h1>Helper: '.$hash.'</h1>'.$res_html;
|
$html.='<h1>Helper: '.$hash.'</h1>'.$res_html;
|
||||||
|
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ $html.='<h1>Helper: '.$hash.'</h1>'.$res_html;
|
|||||||
// olevole: why return here?
|
// olevole: why return here?
|
||||||
// Undefined property: ClonOS::$html in /usr/local/www/clonos/public/pages/instance_jail/helpers.php on line 49
|
// Undefined property: ClonOS::$html in /usr/local/www/clonos/public/pages/instance_jail/helpers.php on line 49
|
||||||
//return array('html'=>$this->html);
|
//return array('html'=>$this->html);
|
||||||
echo json_encode(array('html'=>$html,'func'=>'fillTab'));
|
echo json_encode(array('html'=>$html,'func'=>'fillTab'));exit;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$included_result_array=array(
|
$included_result_array=array(
|
||||||
@@ -63,3 +63,4 @@ $included_result_array=array(
|
|||||||
);
|
);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ function runVNC($jname)
|
|||||||
if(isset($_SERVER['SERVER_NAME']) && !empty(trim($_SERVER['SERVER_NAME'])) && (strcmp($_SERVER['SERVER_NAME'], "_") != 0)){
|
if(isset($_SERVER['SERVER_NAME']) && !empty(trim($_SERVER['SERVER_NAME'])) && (strcmp($_SERVER['SERVER_NAME'], "_") != 0)){
|
||||||
$nodeip = $_SERVER['SERVER_NAME'];
|
$nodeip = $_SERVER['SERVER_NAME'];
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$nodeip = $_SERVER['SERVER_ADDR'];
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: This will send the pass in clear text
|
# TODO: This will send the pass in clear text
|
||||||
|
|||||||
Reference in New Issue
Block a user