Advertisement
lutayashafiq

Untitled

Aug 11th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * NOTE: Designed for use with PHP version 4, 5 and up
  5. *
  6. *
  7. * @version: 1.0
  8. *
  9. */
  10.  
  11. /**
  12. * Configuration file.
  13. */
  14.  
  15. $C = new stdClass;
  16.  
  17. $C->INCPATH = dirname(__FILE__).'/';
  18. chdir( $C->INCPATH );
  19.  
  20. $C->SITE_URL = 'http://www.ronzag.com/';
  21. $C->DOMAIN = 'http://www.ronzag.com';
  22.  
  23. // MySQL SETTINGS
  24. $C->DB_HOST = 'localhost';
  25. $C->DB_USER = 'swidhtzn_ronzag';
  26. $C->DB_PASS = 'faisal44K';
  27. $C->DB_NAME = 'swidhtzn_ronzag';
  28. $C->DB_MYEXT = 'mysqli'; // 'mysqli' or 'mysql'
  29.  
  30.  
  31. // Folder of user data
  32. $C->FOLDER_DATA = "data/";
  33.  
  34. // Temporary folder
  35. $C->FOLDER_TMP = "data/tmp/";
  36.  
  37. // Avatars folder users
  38. $C->FOLDER_AVATAR = "data/avatars/";
  39. $C->AVATAR_DEFAULT = 'default.jpg';
  40.  
  41. // Avatars folder pages
  42. $C->FOLDER_AVATAR_PAGES = "data/avatars_pages/";
  43. $C->AVATAR_DEFAULT_PAGE = 'default.jpg';
  44.  
  45. // Avatars folder groups
  46. $C->FOLDER_AVATAR_GROUPS = "data/avatars_groups/";
  47. $C->AVATAR_DEFAUL_GROUP = 'default.jpg';
  48.  
  49. // Sizes for the avatar
  50. $C->widthAvatar0 = 180;
  51. $C->widthAvatar1 = 100;
  52. $C->heightAvatar1 = 100;
  53. $C->widthAvatar2 = 50;
  54. $C->heightAvatar2 = 50;
  55. $C->widthAvatar3 = 26;
  56. $C->heightAvatar3 = 26;
  57. $C->widthAvatar4 = 180;
  58. $C->heightAvatar4 = 180;
  59.  
  60. $C->SIZE_IMAGEN_AVATAR = 2 * 1024 * 1024; // 2 MB;
  61.  
  62. // photos folder users
  63. $C->FOLDER_PHOTOS = "data/photos/";
  64.  
  65. // photos folder pages
  66. $C->FOLDER_PHOTOS_PAGES = "data/photos_pages/";
  67.  
  68. // photos folder groups
  69. $C->FOLDER_PHOTOS_GROUPS = "data/photos_groups/";
  70.  
  71. $C->SIZE_PHOTO = 5 * 1024 * 1024; // 5 MB;
  72.  
  73. // Sizes for the photos
  74. $C->widthPhotoThumbail = 230;
  75.  
  76. /**************************/
  77. /**************************/
  78.  
  79. // Covers folder users
  80. $C->FOLDER_COVERS = "data/covers/";
  81.  
  82. // Covers folder pages
  83. $C->FOLDER_COVERS_PAGES = "data/covers_pages/";
  84.  
  85. // Covers folder groups
  86. $C->FOLDER_COVERS_GROUPS = "data/covers_groups/";
  87.  
  88. // Sizes for the covers
  89. $C->widthCover1 = 946;
  90. $C->heightCover1 = 300;
  91. $C->widthCover2 = 712;
  92. $C->heightCover2 = 226;
  93. $C->widthCover3 = 350;
  94. $C->heightCover3 = 111;
  95.  
  96.  
  97. $C->SIZE_IMAGEN_COVER = 5 * 1024 * 1024; // 5 MB;
  98.  
  99. /**************************/
  100.  
  101. // Background folder of images in home
  102. $C->FOLDER_BGHOME = "data/bghome/";
  103.  
  104. /**************************/
  105.  
  106. // Images of Ads of users
  107. $C->FOLDER_ADS = "data/ads/";
  108.  
  109. /**************************/
  110.  
  111. // Albums of users
  112. $C->FOLDER_ALBUMS = "data/albums/";
  113.  
  114. /**************************/
  115.  
  116. //if you want to view page view statistics in administration section set the value to TRUE,
  117. $C->write_page_view_is_active = FALSE;
  118.  
  119.  
  120. $C->LOGIN_WITH_FACEBOOK = TRUE;
  121. $C->FB_APPID = '111100001111000';
  122. $C->FB_SECRET = '44445555666677778888999900000000';
  123.  
  124. $C->LOGIN_WITH_TWITTER = TRUE;
  125. $C->TW_APPID = 'xxxxyyyyxxxxyyyyxxxxyyyyx';
  126. $C->TW_SECRET = 'aaaabbbbaaaabbbbaaaabbbbaaaabbbbaaaabbbbaaabbbbaa';
  127. $C->DOMAIN_EMAIL_TW = 'kanorika.com'; //usually your domain
  128.  
  129. // Settings for Mail
  130. $C->FromName = 'Friendly';
  131. $C->From = 'no-reply@kanorika.com';
  132. $C->Host = 'mail.kanorika.com';
  133. $C->Port = '587';
  134. $C->UsernameMail = 'no-reply@kanorika.com';
  135. $C->PasswordMail = 'yourpass';
  136.  
  137.  
  138. // To consider the time zone (in timeago)
  139. //$C->TimeAgoWithZ = FALSE; // in mode local: TRUE; in server: FALSE. Or invert :).
  140.  
  141. $C->INFINITE_SCROLL = TRUE;
  142.  
  143. /*** VERSION 1.2 ***/
  144.  
  145. $C->widthAd1 = 180;
  146. $C->heightAd1 = 90;
  147.  
  148. $C->widthAd2 = 100;
  149. $C->heightAd2 = 50;
  150.  
  151. /*** END VERSION 1.2 ***/
  152.  
  153. /*** VERSION 1.3 ***/
  154.  
  155. $C->LOGIN_WITH_VK = TRUE;
  156. $C->VK_APPID = '1111111';
  157. $C->VK_SECRET = 'xxxxdddxxxdddaaawwwsss';
  158. $C->DOMAIN_EMAIL_VK = 'kanorika.com'; //usually your domain
  159.  
  160. $C->SHOW_APP = TRUE; // Show "images link" for download your app android
  161.  
  162. /*** END VERSION 1.3 ***/
  163.  
  164. /*** VERSION 1.4 ***/
  165.  
  166. $C->LOGIN_WITH_GPLUS = TRUE;
  167. $C->GP_CLIENTID = '1122112211221-qvd3f4d3f4s2d3f4g5h6j7t5r4w2e3r4.apps.googleusercontent.com';
  168. $C->GP_CLIENTSECRET = 'r4t5y6u7i8o9e3r4t5y6e3r4';
  169.  
  170. $C->LOGIN_WITH_LINKEDIN = TRUE;
  171. $C->IN_APIKEY = '77defrg5h6e3r4';
  172. $C->IN_SECRETKEY = 'E343ere3r4r4r4r4';
  173. $C->DOMAIN_EMAIL_IN = 'kanorika.com'; //usually your domain
  174.  
  175. $C->LOGIN_WITH_YAHOO = TRUE;
  176. $C->YH_CONSUMERKEY = 'dj0defrgthyswdefrgthyjukiloswdefrgtdefrgthyewdsewrefdregftrewdsewrefdretrgfwdsewdsrefdrer--';
  177. $C->YH_CONSUMERSECRET = '3329fwget4y5dsewfdredsew3243re4354tr32ew';
  178. $C->YH_DOMAIN_MAIN = 'www.kanorika.com'; //usually your domain
  179.  
  180. //$C->TimeAgoWithZ = FALSE; // is no longer necessary. it has been commented out.
  181.  
  182. /*** END VERSION 1.4 ***/
  183.  
  184.  
  185. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement