/* $Id$ */
- $tree_php = true;
+ if (defined('tree_php'))
+ return;
+ define('tree_php', true);
- if (!isset($imap_php))
- include('../functions/imap.php');
- if (!isset($config_php))
- include('../config/config.php');
+ include('../functions/imap.php');
// Recursive function to find the correct parent for a new node
function findParentForChild($value, $treeIndexToStart, $tree) {
echo $tree[$index]['value'] . '<br>';
}
}
-?>
\ No newline at end of file
+?>