PageRenderTime 51ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/define.var.php

https://github.com/paranoidxc/iwebhost
PHP | 29 lines | 22 code | 6 blank | 1 comment | 0 complexity | 2eefd1233ae2119fb7da5cd1a2cd6543 MD5 | raw file
  1. <?php
  2. // change the following paths if necessary
  3. $website_dir = dirname(__FILE__);
  4. $g_upfiles_dir = '/upfiles';
  5. $atms_dave_dir = $website_dir.'/upfiles/';
  6. $avts_dir = $website_dir.$g_upfiles_dir.'/avatars/';
  7. define('WEBSITE_DIR',$website_dir);
  8. define('ATMS_SAVE_DIR',$atms_dave_dir);
  9. define('UPFILES_DIR', $g_upfiles_dir);
  10. define('UPFILES_AVTS_DIR', $avts_dir);
  11. define('THUMB_SIZE', '160_120');
  12. define('GAVATAR_SIZE','48_48');
  13. define('LARGE_SIZE', '800_600');
  14. define('IHOST_STUDIO', 'http://www.google.com');
  15. define("AVATAR_MAX_WIDTH", 600);
  16. define("AVATAR_MAX_HEIGHT", 400);
  17. define("VIVI_WIDTH", 120);
  18. define("VIVI_HEIGHT", 160);
  19. define("AVATAR_WIDTH", 80);
  20. define("AVATAR_HEIGHT", 80);
  21. define("AVATAR_PREFIX", 'source_');
  22. define("SECRET", 'ihuangxc');
  23. define("ADMIN_URL", "/index.php?r=admin/Dashboard/index");