Added a "Type" property to form inputs.
Fixed the second "title" section found in web page heads.
This commit is contained in:
parent
71f1cfcf20
commit
301dbdcb6d
15 changed files with 83 additions and 24 deletions
|
|
@ -12,7 +12,7 @@ namespace Yavsc.Controllers
|
|||
{
|
||||
public class FileSystemController : Controller
|
||||
{
|
||||
private static string usersDir ="users";
|
||||
private static string usersDir ="~/users";
|
||||
|
||||
public static string UsersDir {
|
||||
get {
|
||||
|
|
@ -25,9 +25,10 @@ namespace Yavsc.Controllers
|
|||
{
|
||||
string user = Membership.GetUser ().UserName;
|
||||
ViewData ["UserName"] = user;
|
||||
|
||||
DirectoryInfo di = new DirectoryInfo (
|
||||
Path.Combine(
|
||||
UsersDir,
|
||||
Server.MapPath(UsersDir),
|
||||
user));
|
||||
if (!di.Exists)
|
||||
di.Create ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue