CC-3320: Upgrade from 2.0->2.0.1: Airtime instance is not avaiable for 1~2mins right after upgrade.

This commit is contained in:
Martin Konecny 2012-02-12 15:06:08 -05:00
parent 0424a7f1d1
commit fbd6df1986
3 changed files with 1 additions and 7 deletions

View File

@ -1,7 +1,6 @@
[production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"

View File

@ -14,8 +14,8 @@ defined('APPLICATION_ENV')
// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/../library'),
get_include_path(),
realpath(APPLICATION_PATH . '/../library')
)));
//Propel classes.

View File

@ -82,11 +82,6 @@ if [ "$web" = "t" ]; then
rm -rf "/usr/share/airtime"
mkdir -p /usr/share/airtime
cp -R $AIRTIMEROOT/airtime_mvc/* /usr/share/airtime/
#Clear stat cache, and remove the script after running it.
curl http://localhost/install/clearstatcache.php
rm -f /usr/share/airtime/public/install/clearstatcache.php
rmdir -f /usr/share/airtime/public/install
fi
echo "* Creating /var/log/airtime"