diff --git a/lam/index.php b/lam/index.php new file mode 100644 index 00000000..3119b57a --- /dev/null +++ b/lam/index.php @@ -0,0 +1,28 @@ + diff --git a/lam/templates/account.php b/lam/templates/account.php index a57dae3f..a2aa6631 100644 --- a/lam/templates/account.php +++ b/lam/templates/account.php @@ -26,6 +26,7 @@ $Id$ include_once('../lib/account.inc'); // File with custom functions include_once('../lib/config.inc'); include_once('../lib/ldap.inc'); +include_once('../lib/profiles.inc'); registervars(); // Register all needed variables in session and register session $error = "0"; @@ -236,6 +237,8 @@ if ($backmain) { $_SESSION['account_old']=""; } +if ($load) $select='load'; +if ($save) $select='save'; @@ -319,7 +322,9 @@ switch ($select) { if ( $_SESSION['account']->general_shell == '/usr/bin/zsh' ) echo '