Commit 4aed5abe by Scott

Fix incorrect phploc in Travis CI

parent fae3d75d
......@@ -23,7 +23,7 @@ before_script:
- pear install --alldeps phpmd/PHP_PMD
- phpenv rehash
# PHPLOC
- curl -o phploc.phar https://phar.phpunit.de/phploc.phar
- curl -o phploc.phar https://phar.phpunit.de/phploc-2.0.6.phar
# Basic config required for PHPUnit
- cp qa-tests/phpunit-qa-config.php qa-config.php
......
......@@ -31,8 +31,8 @@ class qa_wysiwyg_ajax
// Fix path to WYSIWYG editor smilies
public function process_request($request)
{
// echo '<pre>', print_r(qa_db_list_tables(), true), '</pre>';
require_once QA_INCLUDE_DIR.'qa-app-posts.php';
// smiley replacement regexes
$rxSearch = '#<(img|a)([^>]+)(src|href)="([^"]+)/wysiwyg-editor/plugins/smiley/images/([^"]+)"#';
$rxReplace = '<$1$2$3="$4/wysiwyg-editor/ckeditor/plugins/smiley/images/$5"';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment