Skip to content

Commit

Permalink
Merge branch 'master' of github.com:typecho/typecho
Browse files Browse the repository at this point in the history
  • Loading branch information
fen committed Nov 20, 2014
2 parents 8fa7ddc + b0c4cc7 commit 4bb88fa
Show file tree
Hide file tree
Showing 51 changed files with 7,203 additions and 5,872 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "usr/langs"]
path = usr/langs
url = https://github.com/typecho/languages.git
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
language: php

php:
- 5.6
- 5.5
- 5.4
- 5.3
- 5.2
- hhvm

script: cd ./tools/ && make all
script: cd ./tools/ && set -e && make test

3 changes: 1 addition & 2 deletions admin/common-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
noticeType : $.cookie(prefix + '__typecho_notice_type'),
highlight : $.cookie(prefix + '__typecho_notice_highlight')
},
path = '<?php $parts = parse_url($options->siteUrl);
echo empty($parts['path']) ? '/' : $parts['path']; ?>';
path = '<?php echo Typecho_Cookie::getPath(); ?>';

if (!!cookies.notice && 'success|notice|error'.indexOf(cookies.noticeType) >= 0) {
var head = $('.typecho-head-nav'),
Expand Down
Loading

0 comments on commit 4bb88fa

Please sign in to comment.