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:
parent
0424a7f1d1
commit
fbd6df1986
|
@ -1,7 +1,6 @@
|
||||||
[production]
|
[production]
|
||||||
phpSettings.display_startup_errors = 0
|
phpSettings.display_startup_errors = 0
|
||||||
phpSettings.display_errors = 0
|
phpSettings.display_errors = 0
|
||||||
includePaths.library = APPLICATION_PATH "/../library"
|
|
||||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||||
bootstrap.class = "Bootstrap"
|
bootstrap.class = "Bootstrap"
|
||||||
appnamespace = "Application"
|
appnamespace = "Application"
|
||||||
|
|
|
@ -14,8 +14,8 @@ defined('APPLICATION_ENV')
|
||||||
|
|
||||||
// Ensure library/ is on include_path
|
// Ensure library/ is on include_path
|
||||||
set_include_path(implode(PATH_SEPARATOR, array(
|
set_include_path(implode(PATH_SEPARATOR, array(
|
||||||
realpath(APPLICATION_PATH . '/../library'),
|
|
||||||
get_include_path(),
|
get_include_path(),
|
||||||
|
realpath(APPLICATION_PATH . '/../library')
|
||||||
)));
|
)));
|
||||||
|
|
||||||
//Propel classes.
|
//Propel classes.
|
||||||
|
|
|
@ -82,11 +82,6 @@ if [ "$web" = "t" ]; then
|
||||||
rm -rf "/usr/share/airtime"
|
rm -rf "/usr/share/airtime"
|
||||||
mkdir -p /usr/share/airtime
|
mkdir -p /usr/share/airtime
|
||||||
cp -R $AIRTIMEROOT/airtime_mvc/* /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
|
fi
|
||||||
|
|
||||||
echo "* Creating /var/log/airtime"
|
echo "* Creating /var/log/airtime"
|
||||||
|
|
Loading…
Reference in New Issue