403Webshell
Server IP : 162.253.224.18  /  Your IP : 216.73.216.135
Web Server : Apache
System : Linux s18.infinitysrv.com 3.10.0-962.3.2.lve1.5.89.el7.x86_64 #1 SMP Thu Jul 9 15:55:31 UTC 2026 x86_64
User : dejavumk ( 1184)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/dejavumk/nutricoach.dejavumkt.info/app/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/dejavumk/nutricoach.dejavumkt.info/app/Food.php
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Food extends Model
{

    public function user()
    {
        return $this->belongsTomany(User::class)->withTimestamps();;
    }
    public function subgroup()
    {
        return $this->hasOne('App\Models\Group');
    }
    public function measure_unit()
    {
        return $this->hasOne('App\MeasureUnit');
    }
    public function nutrient()
    {
        return $this->belongsToMany('App\Nutrient');
    }
    public function vendor()
    {
        return $this->belongsToMany('App\Vendor');
    }
    public function meal()
    {
        return $this->belongsToMany('App\Meal');
    }
    public function nutrition_type()
    {
        return $this->belongsToMany('App\NutritionType');
    }
    public function health()
    {
        return $this->belongsToMany('App\Models\Health');
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit