diff --git a/gosa-core/setup/class_setupStep_Welcome.inc b/gosa-core/setup/class_setupStep_Welcome.inc
index f030f3121191817e1c4ca690e880c4f9d8fd1163..9ac8ae03802493514441add20372049f15070049 100644 (file)
{
var $languages = array();
var $attributes = array();
- var $header_image = "images/welcome.png";
+ var $header_image = "images/setup/welcome.png";
function Step_Welcome()
{
{
$this->s_title = _("Welcome");
$this->s_info = _("The welcome message");
- $this->s_title_long = _("Welcome to GOsa setup wizard");
+ $this->s_title_long = _("Welcome to the GOsa setup assistent");
}
function execute()
{
$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]);
}