Version 5.1 - All the GraphQL #32
@ -176,7 +176,7 @@ class AnimeModel extends BaseApiModel {
|
||||
$cache_file = "{$this->config->data_cache_path}/anime-{$status}.json";
|
||||
|
||||
$config = [
|
||||
'allow_redirects' => false
|
||||
'allow_redirects' => FALSE
|
||||
];
|
||||
|
||||
if ($status != "all")
|
||||
|
@ -83,7 +83,7 @@ class MangaModel extends BaseApiModel {
|
||||
'query' => [
|
||||
'user_id' => $this->config->hummingbird_username
|
||||
],
|
||||
'allow_redirects' => false
|
||||
'allow_redirects' => FALSE
|
||||
];
|
||||
|
||||
$response = $this->client->get('manga_library_entries', $config);
|
||||
|
@ -2,8 +2,7 @@
|
||||
|
||||
use Phinx\Migration\AbstractMigration;
|
||||
|
||||
class FirstMigration extends AbstractMigration
|
||||
{
|
||||
class FirstMigration extends AbstractMigration {
|
||||
/**
|
||||
* Migrate up
|
||||
*/
|
||||
|
@ -19,6 +19,9 @@ require('../app/config/minify_config.php');
|
||||
$groups = require("../app/config/minify_css_groups.php");
|
||||
|
||||
//Function for compressing the CSS as tightly as possible
|
||||
/**
|
||||
* @param string $buffer
|
||||
*/
|
||||
function compress($buffer) {
|
||||
|
||||
//Remove CSS comments
|
||||
|
@ -24,7 +24,7 @@ class FunctionsTest extends AnimeClient_TestCase {
|
||||
*/
|
||||
public function testDir()
|
||||
{
|
||||
$this->assertEquals('foo'.DIRECTORY_SEPARATOR.'bar', _dir('foo', 'bar'));
|
||||
$this->assertEquals('foo' . DIRECTORY_SEPARATOR . 'bar', _dir('foo', 'bar'));
|
||||
}
|
||||
|
||||
public function testIsSelected()
|
||||
|
@ -43,7 +43,7 @@ class AnimeClient_TestCase extends PHPUnit_Framework_TestCase {
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
// Define base path constants
|
||||
define('ROOT_DIR', realpath(__DIR__ . DIRECTORY_SEPARATOR . "/../"));
|
||||
define('ROOT_DIR', realpath(__DIR__ . DIRECTORY_SEPARATOR . "/../"));
|
||||
require ROOT_DIR . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'base' . DIRECTORY_SEPARATOR . 'pre_conf_functions.php';
|
||||
define('APP_DIR', _dir(ROOT_DIR, 'app'));
|
||||
define('CONF_DIR', _dir(APP_DIR, 'config'));
|
||||
|
Loading…
Reference in New Issue
Block a user