Merge branch 'master' of https://github.com/maxious/ACTBus-ui
--- 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 = "../";