mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-04 03:59:09 -04:00
load gallery module before the rest of the modules, fix corresponding test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.");
|
||||
<?php
|
||||
/**
|
||||
* Gallery - a web based photo album viewer and editor
|
||||
* Copyright (C) 2000-2013 Bharat Mediratta
|
||||
@@ -39,6 +39,7 @@ function getfiles( $path , &$files = array() ) {
|
||||
$preload_dirs = [
|
||||
'application',
|
||||
'system',
|
||||
'modules/gallery',
|
||||
'modules',
|
||||
'themes',
|
||||
];
|
||||
|
||||
@@ -181,6 +181,7 @@ class File_Structure_Test extends Gallery_Unit_Test_Case {
|
||||
// SWF wrappers - directly accessible
|
||||
break;
|
||||
|
||||
case DOCROOT . "lib/preload_opcache.php":
|
||||
case DOCROOT . "local.php":
|
||||
// Special case optional file, not part of the codebase
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user