From: Maxious Date: Tue, 20 Sep 2011 08:19:08 +0000 Subject: Fix address autocomplete X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=b7026b5ff0834c03b4e9632585fdc41e44e78c32 --- Fix address autocomplete --- --- a/aws/busuiphp.sh +++ b/aws/busuiphp.sh @@ -1,4 +1,6 @@ cp /root/aws.php /tmp/ +chmod 777 /var/cache/lighttpd/compress/ + mkdir /var/www/lib/staticmaplite/cache chcon -h system_u:object_r:httpd_sys_content_t /var/www chcon -R -h root:object_r:httpd_sys_content_t /var/www/* @@ -15,3 +17,4 @@ wget http://s3-ap-southeast-1.amazonaws.com/busresources/cbrfeed.zip \ -O /var/www/cbrfeed.zip + --- a/include/common.inc.php +++ b/include/common.inc.php @@ -48,6 +48,8 @@ $basePath = ""; if (strstr($_SERVER['PHP_SELF'], "labs/") || strstr($_SERVER['PHP_SELF'], "myway/") + || strstr($_SERVER['PHP_SELF'], "lib/") + || strstr($_SERVER['PHP_SELF'], "include/") || strstr($_SERVER['PHP_SELF'], "servicealerts/")) $basePath = "../";