Fixed new lesson instructions location to match new file structure
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@416 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
c3908e8700
commit
7e200c921d
@ -77,7 +77,7 @@ public abstract class LessonAdapter extends AbstractLesson
|
|||||||
+ "If you would prefer, send your lesson ideas to "
|
+ "If you would prefer, send your lesson ideas to "
|
||||||
+ getWebgoatContext().getFeedbackAddressHTML()));
|
+ getWebgoatContext().getFeedbackAddressHTML()));
|
||||||
|
|
||||||
String fileName = s.getContext().getRealPath("doc/New Lesson Instructions.txt");
|
String fileName = s.getContext().getRealPath("WEB-INF/classes/New Lesson Instructions.txt");
|
||||||
if (fileName != null)
|
if (fileName != null)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -77,7 +77,7 @@ public class NewLesson extends LessonAdapter
|
|||||||
*/
|
*/
|
||||||
public String getTitle()
|
public String getTitle()
|
||||||
{
|
{
|
||||||
return ("Create a WebGoat Lesson");
|
return ("How to create a Lesson");
|
||||||
}
|
}
|
||||||
|
|
||||||
public Element getCredits()
|
public Element getCredits()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user