00001 <?php 00002 00003 // The base URL of the directory containing your common and project directories 00004 SConfig::setDefault('spath.baseURL', ''); 00005 00006 // Errors and warnings should be off on prod, on for dev. 00007 SConfig::setDefault('common.DISPLAY_ERRORS', true); 00008 SConfig::setDefault('common.DISPLAY_WARNINGS', true); 00009 00010 // these should be 'dev' on newdev, 'prod' on www and intranet 00011 SConfig::setDefault('common.serverClass', 'dev'); 00012 SConfig::setDefault('common.SERVER_TYPE', 'dev'); 00013 00014 // this should be the actual name of the server - usually newdev or www 00015 SConfig::setDefault('common.server', 'newdev'); 00016 00017 // SDR on prod and newdev should both use the prod server. 00018 SConfig::setDefault('sdr.db_host', 'mysql-be-yes-i-really-mean-prod.shodor.org'); 00019 // However if you are testing SDR on your personal copy, uncomment this line 00020 //SConfig::setDefault('sdr.db_host', 'mysql-be'); 00021 00022 /**********************************/ 00023 /* Special settings */ 00024 /**********************************/ 00025 00026 // set this to false for dev on servers that don't have HTTPS (i.e. your laptop) 00027 #SConfig::setDefault('swat.useHTTPSLogin', true); 00028 00029 // uncomment the following line to use a media directory symlink in your newdev-git 00030 // directory (if you are developing on Snap2) 00031 #SConfig::setDefault('snap2.prod.mediaPath', '~USERNAME/newdev-git/media'); 00032 00033 ?>
1.5.6