[FIX] tiki-db.php: remove inclusion of Smarty.class.php because it is not needed anymore in this script and is loaded later. It was causing warnings because of the redefinition of SMARTY_DIR constant later, by setup_smarty.php (which builds a better value btw) + change the way local_php is included to avoid php warnings when the file does not exist.
[FIX] tiki-db.php: remove inclusion of Smarty.class.php because it is not needed anymore in this script and is loaded later. It was causing warnings because of the redefinition of SMARTY_DIR constant later, by setup_smarty.php (which builds a better value btw) + change the way local_php is included to avoid php warnings when the file does not exist.

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@19061 b456876b-0849-0410-b77d-98878d47e9d5

tikiorg/tiki,changi67/tiki,tikiorg/tiki,changi67/tiki,tikiorg/tiki,oregional/tiki,changi67/tiki,oregional/tiki,tikiorg/tiki,oregional/tiki,oregional/tiki,changi67/tiki,changi67/tiki