Project

General

Profile

« Previous | Next » 

Revision 7893

web/vegpath/index.php: Added phpMyAdmin()

View differences:

web/vegpath/index.php
69 69
	};
70 70
}
71 71

  
72
function phpMyAdmin($url)
73
{
74
	return function($path) use($url)
75
	{
76
		$path = parse_dot_path($path);
77
		$target = "db_structure";
78
		if ($path->head)
79
		{
80
			$url .= "&table=".$path->head;
81
			if ($path->tail)
82
			{
83
				$url .= "&column=".$path->tail;
84
				$target = "tbl_alter";
85
			}
86
			else $target = "tbl_structure";
87
		}
88
		return $url."&target=".$target;
89
	};
90
}
91

  
72 92
function VegBank($url)
73 93
{
74 94
	return function($path) use($url)

Also available in: Unified diff