uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
talentorbit.codeskitter.site
/
app
/
Scopes
/
LangScope.php
/
/
<?php namespace App\Scopes; use Auth; use App; use Illuminate\Database\Eloquent\Scope; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; class LangScope implements Scope { /** * Apply the scope to a given Eloquent query builder. * * @param \Illuminate\Database\Eloquent\Builder $builder * @param \Illuminate\Database\Eloquent\Model $model * @return void */ public function apply(Builder $builder, Model $model) { if ( Auth::check() && ( Auth::user()->getAdminUserRole()->role_abbreviation == 'SUP_ADM' || (Auth::user()->getAdminUserRole()->role_abbreviation == 'SUB_ADM') ) ) { return; } else { $builder->where('lang', 'like', \App::getLocale()); } } }
/home/users/unlimited/www/talentorbit.codeskitter.site/app/Scopes/LangScope.php