updated:
This commit is contained in:
parent
8046bb8cea
commit
c4919e7270
2 changed files with 10 additions and 1 deletions
|
@ -18,7 +18,7 @@ $cbLinks = array
|
|||
'login_success' =>array('login_success.php','login_success.php'),
|
||||
'logout' =>array('logout.php','logout.php'),
|
||||
'logout_success'=>array('logout_success.php','logout_success.php'),
|
||||
'my_account' =>array('myaccount.php','my_account'),
|
||||
'my_account' =>array('myaccount.php?user=','my_account'),
|
||||
'my_videos' =>array('manage_videos.php','manage_videos.php'),
|
||||
'my_favorites' =>array('manage_videos.php?mode=favorites','manage_videos.php?mode=favorites'),
|
||||
'my_playlists' =>array('manage_playlists.php','manage_playlists.php'),
|
||||
|
|
|
@ -522,4 +522,13 @@
|
|||
}
|
||||
return 'check_remote_url()';
|
||||
}
|
||||
if(!function_exists('plug_url')){
|
||||
function plug_url($file,$dir,$admin_base=false)
|
||||
{
|
||||
$url = 'plugin.php?folder='.$dir.'&file='.$file;
|
||||
if($admin_base)
|
||||
$url = ADMIN_BASEURL.'/'.$url;
|
||||
return $url;
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Add table
Reference in a new issue