Commit 3cec69dd authored by Paarth's avatar Paarth

Merge branch 'master' of https://git.cse.iitb.ac.in/ayushjangir/sfcode

merge
parents acda07e9 576aaa85
......@@ -29,7 +29,12 @@ function dirToArray($dir)
}
else
{
array_push($result["files"], $value);
$ext = pathinfo($value, PATHINFO_EXTENSION);
if((strcmp($ext, "java") == 0) || (strcmp($ext, "cpp") == 0) || (strcmp($ext, "py") == 0))
{
array_push($result["files"], $value);
}
}
}
}
......
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