mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-13 23:26:29 +02:00
APIshareeio for push notify
This commit is contained in:
parent
782bf6a153
commit
57515256a5
10 changed files with 189 additions and 61 deletions
|
@ -266,20 +266,15 @@ sub handler {
|
|||
|
||||
|
||||
#Menu & node_path handling
|
||||
my ($view,$view_post);
|
||||
my @viewsel = ("shareestart");
|
||||
if($path =~ /^\/(.*)/){
|
||||
my $view = "";
|
||||
my @viewsel = ("app","shareestart");
|
||||
if($path && $path =~ /^\/\w/ && $path =~ /^\/(.*)/){
|
||||
@viewsel = split /\//,$1;
|
||||
if("$path" =~ /\/($modes)$/){
|
||||
if("$path" =~ /\/$modes$/){
|
||||
pop @viewsel;
|
||||
}
|
||||
$view_post = $viewsel[-1] || "root";
|
||||
#$view_post = encode('iso-8859-1',decode('utf-8', $view_post));
|
||||
$view = $viewsel[0];
|
||||
}
|
||||
my $depth = scalar(@viewsel);
|
||||
$view = "root" if(!$view);
|
||||
|
||||
my $node_meta = $dbt->get_node_meta($dbh,\@viewsel);
|
||||
|
||||
#DMS & Tools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue