How to enable file sharing for my app?

You just have to set UIFileSharingEnabled (Application Supports iTunes file sharing) key in the info plist of your app. Here’s a link for the documentation. Scroll down to the file sharing support part. In the past, it was also necessary to define CFBundleDisplayName (Bundle Display Name), if it wasn’t already there. More details here.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)