Fix app not loading any more in OC6 with PHP 5.3
Merge pull request #231 from owncloud/fixappforphp53

Fix app not loading any more in OC6 with PHP 5.3