[FIX] Fix error path to avoid file write error if file is not writable, fix notice, and add directories not to look like Zend, phplayers, ezcomponent etc.
[FIX] Fix error path to avoid file write error if file is not writable, fix
notice, and add directories not to look like Zend, phplayers, ezcomponent etc.


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

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