/define.var.php
PHP | 29 lines | 22 code | 6 blank | 1 comment | 0 complexity | 2eefd1233ae2119fb7da5cd1a2cd6543 MD5 | raw file
- <?php
- // change the following paths if necessary
- $website_dir = dirname(__FILE__);
- $g_upfiles_dir = '/upfiles';
- $atms_dave_dir = $website_dir.'/upfiles/';
- $avts_dir = $website_dir.$g_upfiles_dir.'/avatars/';
- define('WEBSITE_DIR',$website_dir);
- define('ATMS_SAVE_DIR',$atms_dave_dir);
- define('UPFILES_DIR', $g_upfiles_dir);
- define('UPFILES_AVTS_DIR', $avts_dir);
- define('THUMB_SIZE', '160_120');
- define('GAVATAR_SIZE','48_48');
- define('LARGE_SIZE', '800_600');
- define('IHOST_STUDIO', 'http://www.google.com');
- define("AVATAR_MAX_WIDTH", 600);
- define("AVATAR_MAX_HEIGHT", 400);
- define("VIVI_WIDTH", 120);
- define("VIVI_HEIGHT", 160);
- define("AVATAR_WIDTH", 80);
- define("AVATAR_HEIGHT", 80);
- define("AVATAR_PREFIX", 'source_');
- define("SECRET", 'ihuangxc');
- define("ADMIN_URL", "/index.php?r=admin/Dashboard/index");