Skip to content

Commit

Permalink
disable showing recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 8, 2024
1 parent 6be1c92 commit 6ff16c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/data/PageCache.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ component accessors=true {
local.q_files = QueryNew("name,directory,depth,src,dateLastModified,fullpath", "varchar,varchar,numeric,varchar,date,varchar");
var timestamp = CreateDate(2000,1,1);//
for( var file in local.files){
var row = QueryAddRow(local.q_files);
file = _removeRootDirectoryFromFilePath(file);
if ( ListFirst( file, "/" ) eq "recipes") continue;
var row = QueryAddRow(local.q_files);
querySetCell(local.q_files, "name", ListLast(file, "/") , row);
querySetCell(local.q_files, "fullpath", file , row);
querySetCell(local.q_files, "directory", GetDirectoryFromPath(file) , row);
Expand Down

0 comments on commit 6ff16c8

Please sign in to comment.