diff --git a/gosa-core/setup/class_setupStep_Welcome.inc b/gosa-core/setup/class_setupStep_Welcome.inc
index f030f3121191817e1c4ca690e880c4f9d8fd1163..f5104f1a02e1705b57803ad9ad6ae7de0a0e77b8 100644 (file)
{
var $languages = array();
var $attributes = array();
- var $header_image = "images/welcome.png";
+ var $header_image = "images/setup/welcome.png";
function Step_Welcome()
{
{
$smarty = get_smarty();
$smarty->assign('auth_id', session_id());
+
+ $smarty->assign("path",'/tmp/gosa.auth');
return($smarty->fetch(get_template_path("setup_welcome.tpl",TRUE,dirname(__FILE__))));
}
$id = "";
/* Get auth ID from file */
- if (file_exists('/tmp/gosa.auth') && is_readable('/tmp/gosa.auth')){
- $contents= file('/tmp/gosa.auth');
+ $path = '/tmp/gosa.auth';
+ if (file_exists($path) && is_readable($path)){
+ $contents= file($path);
$id= chop($contents[0]);
}