File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 let base = baseNameOf path ;
4040 in type == "directory" && base == "src"
4141 || pkgs . lib . hasInfix "/src/" path || type == "directory" && base
42- == "views" || type == "regular" && pkgs . lib . hasSuffix ".php" base
43- || base == "composer.json" || base == "composer.lock" ;
42+ == "views" || pkgs . lib . hasInfix "/views/" path || type == "regular"
43+ && pkgs . lib . hasSuffix ".php" base || base == "composer.json"
44+ || base == "composer.lock" ;
4445 } ;
4546 wp2staticSrcDev = pkgs . lib . cleanSourceWith {
4647 src = self ;
4748 filter = path : type :
4849 let base = baseNameOf path ;
4950 in type == "directory" && base == "src" || type == "directory"
5051 && base == "tests" || pkgs . lib . hasInfix "/tests/" path || type
51- == "directory" && base == "views" || type == "regular"
52+ == "directory" && base == "views"
53+ || pkgs . lib . hasInfix "/views/" path || type == "regular"
5254 && pkgs . lib . hasSuffix ".php" base || base == "composer.json" || base
5355 == "composer.lock" || base == "phpcs.xml" || base == "phpunit.xml" ;
5456 } ;
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public static function renderS3Page(): void {
7373 is_file ( $ s3_path ) ?
7474 \WP2Static \SiteInfo::getUrl ( 'uploads ' ) . 'wp2static-processed-site.s3 ' : '# ' ;
7575
76- require_once __DIR__ . '/../views/s3-page.php ' ;
76+ require_once __DIR__ . '/../../ views/s3/s3-options -page.php ' ;
7777 }
7878
7979
File renamed without changes.
You can’t perform that action at this time.
0 commit comments