From: maxious Date: Fri, 05 Aug 2011 13:44:07 +0000 Subject: Add PagodaBox support X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=b334dddc147bdf96e14d1e76af36b0cb1951f9a6 --- Add PagodaBox support --- --- /dev/null +++ b/.box @@ -1,1 +1,5 @@ +shared_writable_dirs: + - /labs/tiles + - /lib/staticmaplite/cache +php_extensions: [pgsql,pdo,pdo_pgsql,curl] --- a/include/common-template.inc.php +++ b/include/common-template.inc.php @@ -34,17 +34,18 @@ ' . $pageTitle . ' - - '; + + + '; if (isDebugServer()) { $jqmcss = $labsPath . 'css/jquery.mobile-1.0b1.css'; $jqjs = $labsPath . 'js/jquery-1.6.1.min.js'; $jqmjs = $labsPath . 'js/jquery.mobile-1.0b1.js'; } else { - $jqmcss = "http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css"; - $jqjs = "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"; - $jqmjs = "http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"; + $jqmcss = "//code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css"; + $jqjs = "//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"; + $jqmjs = "//code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"; } echo ' @@ -53,16 +54,12 @@ }); - - + + + + '; echo '