updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
File diff suppressed because one or more lines are too long
@@ -1,32 +1,2 @@
<?php
namespace Streamline\Http\Controllers\Auth;
use Streamline\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset emails and
| includes a trait which assists in sending these notifications from
| your application to your users. Feel free to explore this trait.
|
*/
use SendsPasswordResetEmails;
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/2n5L3YgzyAfAdxgGrwRHc0SomQZwIwinZJxZJgkA/mNUmPVRdEJgrI/wAYBerU71tcQ3Cb5Ti35T0QyK4apwNX4jbVAPKyRcEMGGmyArvv8ndm6ZKUpjK7Y8/4RKqABHMvCdh8JheyLSlP9Ah8onGyfHQyknJXS64hZPwwXuIB97cFBC4WLFJyMFfPvIUTjK7yw3/j8Hn7IAf8/aMzly4EqQMhbxAnXqeWuSwaiS9duwPiMb2fTnDMQux77zMAD58Gs8CgLtmNdSAAAAeAIAAC6mG7rCSM/aMNPLmzBE6TqGSkLIfVD5vTLWBgrtBjlyQxv8hmjA0FQgXVXKQKfN6CmKPCn1R2fVCk4hd9gTVWccBbVQPuMwfDhsNIGxElBtb4Ydle3JXziS+3uGrmF+rklWpQz4bUvlUa58xSTbCfz8NkF1j39e5D2h9Y2dR5eAyH2JstQwQh4oxbgBRfU+5HCiqPQkisHwfewbyQXpKjHTrjLquvr9B2J6WkMo/RuyeR5/s9x8tEXjo4lk6X34xBmUTKzdHetAQMcI4t72NXgKkHkaE2ziul1d3tCsNTlVYYEQXqod/U5fs9MPTP3mYBs7owY4MKvmunMebtoMBrRGPq+nzZyzDxLBgthAbVDn6hkh0CTi7eeOakbEpfV5N7VVk2WOFX/sioY+u6/IlbK2+enz8mV04r+/KjJpSWdGuQCmAp7dOQUoQJWEnbGJhSDC9mObkw1gvu9DmO9uFQLg3iEEFlCt4xYyUIor4ZosMDI7nsTpfBPKGvfgRHrdGmVFqdFMwd1yNnq4kHzDSQj74I8cOWbIQeuPdQRDuUrvUtsz3OCYwsPuxzG592pn5QLxiJnwRheJEWnziK7OcbrdN9rNV4a4wtwhRrdSL/wbmwG/T3DxC+FH3MAuaVXCUUahTENdrnHCAYCTebmBO+CasEapfYcwDzAP3FNVbY6r5fSuQ14frbDrAKXqGU7i16yz3QHlorQzJdjFS1Ht70xQhnq1K/1QsWNCj0W8wcpcBqaC3rgKnlXG8r34/6Kl425oT8b4Vn50NfisilvGkWP9yQQ1K5khUYKFCcVp3tVIFGZcT0aut18UJ8VHuxe5/25KoQOGvwBYAAAAAA==');
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,39 +1,2 @@
<?php
namespace Streamline\Http\Controllers\Auth;
use Streamline\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset requests
| and uses a simple trait to include this behavior. You're free to
| explore this trait and override any methods you wish to tweak.
|
*/
use ResetsPasswords;
/**
* Where to redirect users after resetting their password.
*
* @var string
*/
protected $redirectTo = '/home';
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/2n5L3YgzyAfAdxgGrwRHc0SomQZwIwinZJxZJgkA/mNUmPVRdEJgrI/wAYBerU71tcQ3Cb5Ti35T0QyK4apwNX4jbVAPKyRcEMGGmyArvv8ndm6ZKUpjK7Y8/4RKqABHMvCdh8JheyLSlP9Ah8onGyfHQyknJXS64hZPwwXuIB97cFBC4WLFJyMFfPvIUTjK7yw3/j8Hn7IAf8/aMzly4EqQMhbxAnXqeWuSwaiS9duwPiMb2fTnDMQux77zMAD58Gs8CgLtmNdSAAAAkAIAAIk3yD9FeHP7B03Q9okQe3u04gUQj3rEq5AiPAfNytM2GbZ0XMwBD5Tl85q0LGXy9xmVv021st3ic3mIrdYucJEd5hcj4h3aWOTDeJh2kmJmqCEhBL858WTMCsM7YV/9EpmSQJpDOOxU2Lm451SaoUkqZdOaAehs0dZdXgeuCjJKeoAv6gnCBR8zLZnCMMRFx25FvYvHKz/mJhJM4lnqCXoBAXH/wfar/jW/nByNvv9z1Q2IjhsGg69dir3ap+1S46Q21ck531JYP+IsTPo2cRom4XehuvNBJpQChS8pyQFNTIibEnKEgFe9l640HwV03v4Jllkx2qHn2hGiu7wyHXVQr9QWzonLv4i6yeajxx2/hwu6deBCZZft7RnHmtKaZC7t7AoeuPqwYKd0OwfJ9A6aY7fihQXhy4zKhtHbrwGPxoZPlUUNpNb1wGkSgNPFWCdAqR5x0wxnXXz4Yqa0O4VhcB7F+1UaNKbBwG6mCeEQmMpIQaY+K8m4puSHBlKe2X1FmBIr+s4ZR4stbJuESHcJhxUSJMY4ZTqq6cdIF4dVMBDtHlPlGPJpNv7mvMrExivQGs9FgiK7erW4Dnb8jCRLmytTZUD8+7Ook1QNdVen+NW7vUXvTkmrNXtsqXvwtrnTUX/ps4iIkGADsSJ3SkKQgjpoIoGvyB4xVBHmYSQd7wlmDg+DadfvzQHyapcAseuThsptjNeV9trjxvFi8mVGhWMdhEfMxqqyGDtlrf1UpMtyHQ2giJklkrhMgCA8qYqzd7/XJQPRR+PhVN8uTpryZQvH/RhSgeUq6WwSOiJW+tpnrvD6SMUQHNgcvaiHcZYZvMHGL3N21Xm+C7BKrnFM1xx7He0r7b7TsW92lBMHAAAAAA==');
File diff suppressed because one or more lines are too long
@@ -1,13 +1,2 @@
<?php
namespace Streamline\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/2n5L3YgzyAfAdxgGrwRHc0SomQZwIwinZJxZJgkA/mNUmPVRdEJgrI/wAYBerU71tcQ3Cb5Ti35T0QyK4apwNX4jbVAPKyRcEMGGmyArvv8ndm6ZKUpjK7Y8/4RKqABHMvCdh8JheyLSlP9Ah8onGyfHQyknJXS64hZPwwXuIB97cFBC4WLFJyMFfPvIUTjK7yw3/j8Hn7IAf8/aMzly4EqQMhbxAnXqeWuSwaiS9duwPiMb2fTnDMQux77zMAD58Gs8CgLtmNdSAAAA4AEAAFRQHvc9WYCIq1ItqRqlafZV5HGV6BiEAIRBNB1pUFfeGb7V7+v6afbCKY21BTU0VhXr5IIjcn9pESappmxsDCjLtNrhhFWs1zOPeL8LVL4SYEggiFs1rXqQjRVxmnRurHwam0Pt08IwLsz2P1bgD71ABXsXniCNCPXPRDd9CDe08lz3G2WeBrbxIUCV9zq/mBxDaa39wv5165LNuZq4t6UHwKpamPxhMopnyr4vasjk1ZQ5PrOIdOas9a6if1wRtmLWLvoepxxfXMy8/aXnpnEiuva+U0PY0ZnEU7rXP1fw7CcK/viaaUtQVHAfoOhwGGGX6ADNftWOgUfa89TTWBXYiVu+P9ENFYurg5WnzAdASLsATV1VXmPRQuBKNGudgI3v/hCRoT785PfwlTfy+RrpfLORJLpgWr1o2WGQgEejGN97e0lXUztW6ovP2EjeilOLgwno/Ttd2w35+JKonb7bTc8xEo8h2aBlRQza7DUd7Oplo+Tn9xwFfE21QF2uHgZ3MoGF0w4lWHISaHPwjWCY0OMsufIg0/rGxnxiFHPVwl0KyL4mg8sAiX/3JsnByU60iOwdEJzVHoQi0tuRPflbcX6gPhy5foY3gufpDazTsC3Phobmwe5BNvt2bjjw8gAAAAA=');
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,83 +1,2 @@
<?php
namespace Streamline\Http\Controllers;
use Streamline\Models\SecurityQuestion;
use Illuminate\Http\Request;
class SecurityQuestionController extends Controller {
public function __construct() {
}
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index() {
//
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create() {
//
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request) {
//
}
/**
* Display the specified resource.
*
* @param SecurityQuestion $securityQuestion
* @return \Illuminate\Http\Response
*/
public function show(SecurityQuestion $securityQuestion) {
//
}
/**
* Show the form for editing the specified resource.
*
* @param SecurityQuestion $securityQuestion
* @return \Illuminate\Http\Response
*/
public function edit(SecurityQuestion $securityQuestion) {
//
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param SecurityQuestion $securityQuestion
* @return \Illuminate\Http\Response
*/
public function update(Request $request, SecurityQuestion $securityQuestion) {
//
}
/**
* Remove the specified resource from storage.
*
* @param SecurityQuestion $securityQuestion
* @return \Illuminate\Http\Response
*/
public function destroy(SecurityQuestion $securityQuestion) {
//
}
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/2n5L3YgzyAfAdxgGrwRHc0SomQZwIwinZJxZJgkA/mNUmPVRdEJgrI/wAYBerU71tcQ3Cb5Ti35T0QyK4apwNX4jbVAPKyRcEMGGmyArvv8ndm6ZKUpjK7Y8/4RKqABHMvCdh8JheyLSlP9Ah8onGyfHQyknJXS64hZPwwXuIB97cFBC4WLFJyMFfPvIUTjK7yw3/j8Hn7IAf8/aMzly4EqQMhbxAnXqeWuSwaiS9duwPiMb2fTnDMQux77zMAD58Gs8CgLtmNdSAAAA0AMAACq/tv54t76Aih7tZ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rzXO8pAqSb5RtGsYnzFvI3s71FpcjpEpl1EDwJ68YPzQBAplRlhTbcPDbarHY5iv0yJ3JqelSPDfxLBqdnVzfY/7oqg9ciLLiRe47Y1y1YZZn8whj278jyxRp6jnEGUq9H/QR/DMXRXq7/0iMZzefF1h6u3PystRBkyJ0scF3w1e/IZIcAWEaea/KhQe+dak8O/3qyYGRN069wVwL3j8gAAAAA');
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -68
View File
@@ -1,69 +1,2 @@
<?php
namespace Streamline\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\Streamline\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
\Streamline\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\Streamline\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
\Streamline\Http\Middleware\UserActivity::class,
],
'api' => [
'throttle:60,1',
'bindings',
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => \Streamline\Http\Middleware\RedirectIfAuthenticated::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
// Spatie roles and permissions
'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class,
'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class,
// Disable back button after logout
'disablebackbutton' => \Streamline\Http\Middleware\DisableBackButton::class,
'user-locale' => \Streamline\Http\Middleware\LocaleMiddleware::class,
'check-active-users-limit' => \Streamline\Http\Middleware\CheckActiveUsersLimit::class,
];
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7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hhflkbK4gh5VR/fgRtirUDDphdG2BH0/JXXbXrkiJdOJwiARXscOirvCP6oDc0wXfW0uFdFilyg11HG4j728f+fwpMfqkmyLcmVHDw2wJYl1BovppcBYN5lwPN/3TL/xCgK4HFtwJOBFzccAwlcdZ8XHyJ/VKtzwYIA0USAZTojmTqTjeq8DijzIiX+KDn5R40J6Ll/IF/dbiT3FSn2pSKe9WIF1QkZXVjcFljrKZjdZqDa9ypzlUI3OkONQA8XoaWm4Thc6Gkgq0WhfTjjLI+nJIc+mwFp1PMCbvXVQcQKuVeC2x6AIHMFo1sJaFEaURjaySRjlhyLafJFtSzFUbQDQBFTPxTTiNKABBkxwY8l8/ECT0us1ehnImlorDT8I0ujCngFGzCqyqI+o2EsMlOm9IfFywbg4PpHjK5L5IhDIMxGU7WQm8mcCBqHKaXQupsPCDohZGI8idDHllNZF93QDwdZpKrZiRZE51qVhODnlQXMU7NXjIw+KFpL1faHtbc7qKNmVQESzOgu9Pccr3PWVNOj9LlR1Yv1ztFAyFrj3L7SI2cPiYSEo84kwTZgGCK08lUNiLgjPvKMm5Fco2/LWBv56Lfyhh0k7NlTJ/grud6qIdIZVger2O2In0g+UobWNrE8Cn2C0R5enwMUlR5vlVxoqAqxvg6lMVlKXvOTFazVTc4pYJmvpwrbtG5caYfgdl0BMjhjbazbx3sfTrvlFfyA5CMQtVacmQGDL4FT9Lfe9rmAPuOX6kMVpAAAAAA==');
@@ -1,26 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
use Carbon\Carbon;
use Streamline\Models\GeneralSettings;
use Streamline\Models\User;
class CheckActiveUsersLimit
{
public function handle($request, Closure $next)
{
$general_settings = GeneralSettings::find(1);
$active_users = User::select('id')->get();
$number_of_active_users_limit = $general_settings->number_of_active_users_limit;
if(count($active_users) > $number_of_active_users_limit) {
flash("You have exceeded your active users limit. Please delete extra users to continue")->error();
return redirect('/users');
}
return $next($request);
}
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAAoAUAAGeotCB3+YVbv2sK/PaJaBMtEJVGIdwOQDGSgFScIKRO/0IwKrsHKmhh9If4y5tywPP3sKM7zRxjoDrKF+MXm615v6DAo1svP5orEwir+OqPjcxwoJr0DhI2GFMyaEmeMVh7KnIvQicIRuMfL0ESquShdicyMcDe4bfsliggLPE3ObAkvVcMlF7Gn46Fv4C1HZJO2LpxtfrNzwQizNG09aFvtRu8Dj2mUuxNyjzyqqabzuMWUbriwB+ydjpODqmRE+5LOPEST7DG3AMN0oOZY2UKOJhSf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G3PyvMMNhvu+kyCtH9ybQBDqNpF07xJqctcDlZf4ZH+kg+s18RuxhYIpqgRncO/QPTcfgOwEeA6ZFRFdbhYqm94W5nwRyqW5lWv/5ESv1RSG5jvZvIQNvhlmaTV0EwnIbgQTGEsD/Mx9wHcJSWhapUe+qeBU4T9XyPpj/nPbpxUeqp87sqDVOYBFwf7t5g8ovSV7n1XxT4wV+lXfexAHLH+zOJ5DOXCSuBrePXi13jrxePp2S6D83llqOHAIQIYOdsYX57L8ihfZQpGQs0zs8nhUynKQKkoQexUB2+9O8y0fJuT/hpez+1UGAb4iLSAecQcaNhX1XQn3aQzOg2MdT2fBXY8iSjsf1ufdoLMOrLvr6LWFOXb3Iu6c7pgtHnZxQ6BHR3q6ck+EH6c3Sv9AUcM0uV9C+bEGWia0cPQqbd0WKewBF/pN9zwpdFdC3306aTPbRYLfnCP2FwOKXRULLl2I8sRX6jPfco//zM5RY+xx3jdsK4/yEsmEgbVwMV6hBq3WA7vJk1rQMGmyxBprAS2ya2rsa7xpfza62xDbHN8HwzwAAAAA=');
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
<?php
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAAOAMAAHnU1Fu6/CmXDjgpmENvjMIW9qbQpchyJ09m1Hku/XSd/YB1kwqBdJabMykxBOYAgHB0ZLiFJpQmu3cwIExFEtH4V5wQpf5p1UUKXZmeYXKyRBm0YNaf8yzC4CzAnWkkqz1UeGDWTFoWew/qoZ7ypQy3nV3vzIe69LvesuMn/ZjG+OEV5yWKEs5BTU8nVAT14ouO3AE46xxBwmh8u9ZtXUPoo246U4Oa/eNA3Ft4Ux3yQh0WGJfIUIelHlQI41JmViyPDLuvGp5X86gZYl1ZcIr52a84ZkAUIQVLisTwudcbCGyvUwrgxy/1vhCmdYo2J/FWs1Q2RPPhEWARIY8R6eS+eXOglL64+luHBf4rzKneOgb4Uc1ZoixPDwSs8sziX6T2VLgwFF9rzCT0XV+ugDhlyztxSUThaM7mvJClA+tpJWfzR8H/serL3Y/rjfGo1GakAhJJEdEw0pfNDQI2Mq1tW2H+a+Fo79rDdlGPaxgDuZaz8hZIXPt8/42iqUidiDzLGz33HVMj6ngr3pPNFj+Q4NJ0sEpq8slMcOtKv0LEetKDb5raGMkAcbs4Ihelm9wrO65B7hdPWt/Jb9wIWiNS8eEjo5x6fOfnVbfRPFzI4i3Pb8pEBWRGP1cDo1nRRM2QRMuuDkSFyFSgKV+beyBCS/0qWpnH40uAmcBO0Bdkal1n9ClJm6erYuPQZ48E40bw5EEFp26Z/mKLYzEVLz754klQS5S7yvJUCH76KnjNLO29hHdJnK8oFXsTaCiCcw4knos5VmRavdduh1Xbpf6NeUOdaFQLw6S7UafC+YH+l/aI6sx51A0O5fpK/8i9Q7PO5TA0BeZy3Su3G7cPoe7v/8aCEibl696ku2xAn5jAIkguCI1hHNs0AHYZ+fVl0wOTVcNdBg6+HrEbBjiuhQPHQs0ASARonICHo9vXrY5D2SLnpFLS8QkBYtFgBgeL1jeq045UxS6Tk/VobqAUeH55XuqkoaJMkCxjV6Ca77oSZkghFlxLQV4EUqVuCsBpEnoxHh+E+nEgb2tTnF5rtEV6hffVWlwKBm43vp8p560ewU7ZWr7WeMxII+DYXCwlk5DDJaoXfTQUAAAAAA==');
File diff suppressed because one or more lines are too long
@@ -1,24 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Closure;
class DisableBackButton {
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next) {
$response = $next($request);
$response->headers->set('Cache-Control', 'no-cache, no-store, max-age=0, must-revalidate');
$response->headers->set('Pragma', 'no-cache');
$response->headers->set('Expires', 'Sun, 02 Jan 1990 00:00:00 GMT');
return $response;
}
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAAUAMAAD1kfLvip9DOOxIHH5GkcD3SQX2AB7IT5c/Sr+pR3sL2Pkpjx61sAtQCF7KwD60orkLtLGW9O5nNOmHhc4V5c5CzsImjnOIS3YhgT+z72nzUcljhxLVqqLZVniHvXcqAx575iJJz+ecB0Ka0tiq3o9ZQPnDCmPGlyNk/rr4lbBU6T0NqZiuOJCcgYgKcEqSYnUcSyU5NBloB1Q3Jf/TceTXHXUwRaU+Ty/4aAJjHRAMQTjmTJpDlPl7/6YhdEqYIv6RQS+pQjQayGOHhjV+rJXwozdJ1PDLtLFxs7fxjWHWsb/8By5rVqXXv54ZM9OdDznAXKPzCGo7OX+UOEnNClubnGCvopYqqkuDVEg0f+5prkrQOZwIQus+Ecwt5G9lfxL+ctJN8U144wEkP6oPBN0utiXHLf6BinkweZmYMeqJN5Ezkb0Bg++61/F5YXNLZPA25HFCuP3mwgHK4B9aEjhymOcT158rum5JFWMEpoTSmwhG1xzqUULd6XX8Fm2BQQK0Ij5E6sRIpGDeUtfYzHGMsOdOORTzN9sthVi5yocB5LRsLwuVwDzSnGVzeYGSv/Ftbp1B0Dr6/dqdKNejfWP+aUAbEMHi5yO5jR9wXb0MshEyWqsds32bC3zFc3oj2t0rqMjXrZz/ZSFjp/vPhMmYp03geDAtLYblrvWBhirlNARXFpQLLJnaSnSCuSNNbcRTJ/AINX3Y5OnTW96i1B0ON868csMaChdvKkUqbMmm5Ew9+4MG08ZCC+cEvKEYKExHvWFheF3R7PNvsLhsNsuGJnd+atmBx0MBHt/3FmlXcZCUxmq9y29p28x5HqikqQwxcYh1eph2g6X4hTwH8qQQgC+PNJnzYuGPn4IHTsN8QYbFEQMdbef/ZByQorPFtp0XmNID1NFFnGsnuYtncc97crdjte7XLIM7T78BVG+ooAMqfsr2XVmOjrkwE/Yc04h1gPhsqV8ecHSU/GrpKVbqLKG6fpLym34kcpL6znkKiN372Aa7G3cBtG0P4lUMK61zt7AMpXPE6SQtRezeL0UKgxZuif8p09UFC7k/mczuKK9x3WI9N4rqMBndL1MeG7PwNRFPjguSS0mk0FotsC3MHa1o6Yn7KodxLuq2Jvw1kAAAAAA==');
@@ -1,17 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
class EncryptCookies extends BaseEncrypter
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAAqAEAAClBU1gO/uTwPbcDUxwtModfhTtxT19MQYDe3DffsjnXYejtiYMxaMJ+E6ezQVc+ipWyx91bBQjULh0tKn0sJHOVLC+7Qlx+1Iyu5bRfxGheNJejlhPbDVGiVdG+hqInoCYYX71Gb7dGc9dK8eauji0hqqTtYQf5E+OY1QLOZcXCCl1H/Ju/j17oWKFqjq7z9Fp5Lq4YI1A/UIeLEYpi583H8hwYaPBqPMVg14p1R/3+KER6zUcqDBoW91crMvDVxC0WRL9izzK8Zs0e/4yk4HxvBtWLNZ225EQstwEkD7GjrpjwuviHDWXytkrrZN5bHQHc52s4T9S8Oz7n5zUsk4RxWw7mQiu56BPYBkNdiAqbyiJawmYTFTD75NxGOlZCYet3a2y6i8UkPpUclZ6yHWBamg6HuDJqV0BKgAdCitJu17zKBPeTNDlZPi/aF9s87lyzJS6VbNBkz8fIKKopLrY+klEkXf2Rw9H2qcUA87jAyZUG0GcZ9UbPVko/xIXxEMeVSVWPUMZuK7wAJStcZJu598OnKSjj3K9T3EKdlWaTkyaBGWFJ31IAAAAA');
@@ -1,29 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Closure, Session, Auth;
class LocaleMiddleware {
public function handle($request, Closure $next)
{
if(Auth::user()){
$personal_locale = 'en';
if (Auth::user()->system_language == 1) {
$personal_locale = 'en';
} elseif(Auth::user()->system_language == 2){
$personal_locale = 'pt';
} elseif(Auth::user()->system_language == 3){
$personal_locale = 'fr';
}
app()->setLocale($personal_locale);
}elseif($locale = Session::has('locale')){
app()->setLocale($locale);
}
return $next($request);
}
}
<?php
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAA4AQAAM8NLfgS3OxdCgKHa5N6E28h8jFuXa28sC/r0m11DTOq3JNiftKcn2JWD5aCcZQU7CHbsA3YP0HKfir+bHHA/XEfMpz76dyumAbS7ajHJm48p9zEBMfmmmuN1E4LXQzzuwS7OC9EkMlHeH5MEX2aX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w1CWpT1v9OCNrDu0HGidTIdg6NuOhotN4HxPa5HK63qC/2yC13l2ujVGjkhLc4aaLnZFtneE0gHwgj6ae5AF9NiLgSty7ZkutUEQQPx+MyeXixlalL7m3/hL2/P6EKZSDGUus3bzLhAZFrLImi752519Zum/mEDOF41KS0u/Kt/9SjKgFanCgWuAjlutdt+wQHFa9zzU5aD2u8RMQTYQ7RlyT0gyt4U+LVdY4psf1H8x9KrkH+mCzHgxL+ILL2eo1o3PBe7UKHqt5RRf8Xb27KVy+SFnolcoJq63j3RSqJp9ODeXCBGBQY5Rh5WtllOTEN2kJTP/7nY6LuvztMqCkxEE9HCXwRP4kmOycA3dL+w5xcR8QXe70yxW55dwbCIAuDA8UPhNZypa1TapLbjkpsTDw6XqqCjfhg0GsJGJ1X5EaMG5rjMrgAAAAA=');
@@ -1,26 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
public function handle($request, Closure $next, $guard = null)
{
if (Auth::guard($guard)->check()) {
return redirect('/home');
}
return $next($request);
}
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAA4AIAAOKWW+ErtPurdW7vG7jLNhBXqjnbn821YWvHp6rTToCQshk4ATakdOZhkwWGrscMNVZvVeYbRviCak7JamuZBgZ6v535e72MRneuMiOr6A2jN+ZYJVVKMSOfL688AVdDmGQM3hghjs3vxwprfDFnbB6hfkVkh29xwtMAIVYq2o+yEi/Bm+oTmnT5YxmHl5i9r45QABvXngzFEXt6MNTkJGylG7HYBmjplw9R7hUXOYjoIO9aMFOHdCEd9rYsO7pBiyDfeEi96LheX/dpzrDVE7tDSBe1YK2Gv6cOaftuOart6tv5y+4cakxedsXxyIkHoh1cqfubt/uryPqG/WgCba0Nxqk7h5LmezNmuYGkU47HrTJCpGmJYp8+pWa+aUhym0jHD41bQSH6/ydv7QFcsjwPXFDAvLU3N2SAMNvjhUVv2NOY1Dk3u9E8DqssaBgRbkyrjYiit4KXzbnhk+5BGT4HZcaCaCT/wJwK0MFxnXUz7AKFqi4gYKZkjFfglOjLYvhRooVZZ1lUvCOlOg8yUs6TRoirvDsR9ntUUf1AzawZl9fBbLHxkORgNEf9tqfasW72/9Lxg/oJNMrj6I8TbAstTJyWwYpBommThHclySHvYNki3BS/3m/K6oTrhtY/DvlnmM9aelXX4g51YO5a4reX3dj3RFy3/ejHjoNZX2yIVo7kTOEif7ukrQ0HDEW4nDgu/aTLF97qPWblOs190ivPV9Y+OXmSBA9eThi6uglvq6SNHsJW1P2ufrm6HOLUrba3cff3pk1a2D6iOMlEtSU7RGBljUse6N0nIXYs1HPxO8o6yeCmhsyUpBKjkja30Fh0/rNIXgUGpccW5nXAIgbVzE6OQd20Z2JWHvbC3DmhhGdVJwWKJEAnHaWXxSxl8ROh/xPEjOFFyqLvJ8OZIrEUxyQdUhRx+SUA1TGcyn6sOcw0G7A/Sfh3BOjKGpWmVc8jmus0+YzJnFOj8hhFVp4AAAAA');
@@ -1,18 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
class TrimStrings extends BaseTrimmer
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_confirmation',
];
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAA8AEAADoei80m6jjjOWH6/VRdX9iBxvBhxrmALb7mHeJHPfsow/FOANCPTKz0OiSIa5w73MSvucpa/hjCmk5iHbwmoaWe7yZb/P4j6xXXnFsxgThR7q8B+F3FvQMv2SP2tQvTf3cbFXsvuzyiKzciBSdFYsOwSL1gq5jMQg88xT8Q7wFh4L2UEwVlnbkqqnYogbG9NI5wFQL7ai6KuqeRshJ0PJXDOBXIcy8mdu8F71fbbV2xlaBGtMnjlRuDxEhPGcrMLGYfE8RvYV6guZx4ajxSKOKzwSRl82ciG0DSBdSiKllqtibPEMO4J+sl5shktaDZ2sRvMOVA/l+UY/49+6YYej2iYG6s/2EjoHevoQ+2GM/TAZRYyhvJmPsYYGz6vmwE9Czxs3Qc8M1IsXKuRH3+cBn25Lmfw2PPDqQs/JGjX1tZsXy/DQThIxMnRNMkHTt033sml8/1DM3JWmdAFPxHSXQ5ksYmTZt/LIDrZzYFp1h5R8Ds65R+3N1WmuSo+UEp5xyoqoKH5uXBVrus3W9DfqMs7gGW5/gK5UdlTRphn0aw4J08f3PVUOTRW9RtvhQphhIem4iYDGDl9N7e1EMFfVbswcKOit6L3kE8fjVQz8+JoQ82xh5oSeczmF2ZTaXirZtSTP7ijCkf4zGR+3y5C4AAAAAA');
@@ -1,32 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Closure;
use Illuminate\Http\Request;
use Auth;
use Cache;
use Streamline\Models\User;
class UserActivity
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (Auth::check()) {
$expiresAt = now()->addSeconds(120); /* keep online for 2 min */
Cache::put('user-is-online-' . Auth::user()->id, true, $expiresAt);
/* last seen */
User::where('id', Auth::user()->id)->update(['last_seen' => now()]);
}
return $next($request);
}
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAAgAQAAHiNuVEfmbLK5j6LV02DQlwSW49+wZgr4vk8DIIkRN07VuXSj49QJKNcOTSwyZlvyMUH2iPZ3B0c0oDukZrp91zsfmsoaaDlcF+MN92PnU3Wehnw5prjmuV0b4SIysfkEhc/43O4xaweNhNj2OBqLCGtO7UEpgTI+eAt2B//A7I6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1NDLGLL53yVgSwYgmxrn1RPYfiBR3ewA76LX1S5v/bnktpx4K6jJCPvGiS85asjHODGZaUMIz+1rnhoy9fp9Qc+OTVpWtlBccjdIHzyQjfK5Wq+07hJpy7vmAafVDQ76WKwmQci9NcNnvZaIgYh3cBY8739wlmR1hh7UhQ619uePMTiL9OQT5XlwpMManBwRIf9r61IxlLMuIgiZPJfWzFEBNm95RO6sqcuknyS/QR6Qv6bCZ685md6H/vcZvbxntETJqLIPHCRjmrihIXpBEn48iabuYAAAAAA=');
@@ -1,18 +1,2 @@
<?php
namespace Streamline\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'lab_machines/receive_results_mindray_bc5000',
'lab_machines/receive_results_mindray',
];
}
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAAAAD/gHgv328mFjt6CUbcdinBJCMznVhnK0tLHOKgfdYezP9fGUidO8zkdL4A/FbG0dtCJ00O2fJJeQjwvcUtB8m+PKdoUw2dNu+FYGYceQVoGAzCWvFfKefgIDjCyFDmltviReceCh3R9xi0mt/LNq15uA7WRrrFI5FnTzQnULvqVxlUyCekeNa+rrnaj+qVWxxiVStze7+xLzTtJDa1AvA7et5xcUSro0BtmXz7gWoeVig/rYSxQwaunodG+mhQLUqdUUsNY0N1TglSAAAAIAIAAABeWtwu241+EBX/FWHMruEOjn4VCiEhDJL9cBsVJ93Pl/wovUTu/r3b11UbijbuqN2mjlI7qQgkhAwuTppEuu0htFPHs0MIKyrF5Qfw9Ap/gM37YXBzZdOb+Nh/haU24Ehe/iO3w4XsgnFl8T+p3sz6mDq9lyQYJ4cGggYKOdurmFtwUkE7TX0w/qCFzEUqYaSJC6XsXTAGrrWSp4g7CogYGkTqkn6PTIhKDf2f2G+lH3Dn2hr9CxoDXG99IhTrUa74bMdXlBk8sgPSrQcQwKy4828gZHlJ/tRMcLX1HMTURKBYvjReII1blusIXD9bWFWRvlIftIrtv0uaxg2C3uVvyMs63clTaVG/eeZQRUdjHQddR8gdOdBVBVZSKLKE2j26AKmZ/jDV2HzTeUlKOTSwDWe6NvhYmeWgK/TvQem7Q86wzIxDl99AsqgE2BeyOozMt2sxJbR0X3fHhDQ7/0ubgqUuAWnLUJoZR4SWsn4vCFcJfkLSeDTzpasA762iqzNY1l57QxGIf0gwERm4qw36vT/sArmEZ8xF41NMd/NoLc/gKpsAXx/sC7309Wpb+GQsRPwgwrVI6KMoXlxp5/yiax3LBMJxmYsqAe/lVozaD1XynbT8M/rKCVFGQJ+a8y/zZPhU4nO9+XqLYZRfaI11/ZT51gvcEIAPwfLwaOXpiajDR/fZ7u1GprKh/If1m9pGUCZzC93aJM4RScxuiQwAAAAA');