Skip to content

Commit 4bb88fa

Browse files
author
fen
committed
Merge branch 'master' of github.com:typecho/typecho
2 parents 8fa7ddc + b0c4cc7 commit 4bb88fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+7203
-5872
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "usr/langs"]
2-
path = usr/langs
3-
url = https://github.com/typecho/languages.git

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
language: php
22

33
php:
4+
- 5.6
45
- 5.5
56
- 5.4
67
- 5.3
8+
- 5.2
9+
- hhvm
710

8-
script: cd ./tools/ && make all
11+
script: cd ./tools/ && set -e && make test
912

admin/common-js.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
noticeType : $.cookie(prefix + '__typecho_notice_type'),
1414
highlight : $.cookie(prefix + '__typecho_notice_highlight')
1515
},
16-
path = '<?php $parts = parse_url($options->siteUrl);
17-
echo empty($parts['path']) ? '/' : $parts['path']; ?>';
16+
path = '<?php echo Typecho_Cookie::getPath(); ?>';
1817

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

0 commit comments

Comments
 (0)