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
@@ -1,44 +1,2 @@
<?php
namespace Streamline\Providers;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
use Streamline\Models\Triage;
use Streamline\Observers\TriageObserver;
use Streamline\Services\StreamlineSetupService;
use Streamline\Services\StreamlineSetupServiceInterface;
class AppServiceProvider extends ServiceProvider {
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot() {
Schema::defaultStringLength(191);
Paginator::useBootstrapThree();
// for old DBs with Streamline\User
Relation::morphMap([
'Streamline\User' => 'Streamline\Models\User',
]);
Triage::observe(TriageObserver::class);
}
/**
* Register any application services.
*
* @return void
*/
public function register(): void
{
$this->app->bind(StreamlineSetupServiceInterface::class, StreamlineSetupService::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('86EF549DC7C503B9AAQAAAAiAAAABMgAAACABAAAAAAA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kNc6ER0X13likmCWikqmrtTBDFwLaPXVv6fMr8z/gfDc4+7WJYtcUdoHKDi/OhcnJYJCWFi50vY85lnYRz6U2a/un9BZf/ZrFBnSjduCSK72INp3dj4jn7eYN2lAUMpZUqONcXX3JCK0jB9iOPLcHEaWYxQwt5Xm5YU4Y7hpzFdWlamo6Qg7ezyGfh+EqwvH5nAFigBDRWon591jaDvQWf2cBHLLAFBiymJNnVZqvHNmYRZ08MmVPnMbS8KwTByFyCwG8XT8LM0ZfGjWExz/5rzxQ1xMQuI0LZB9vmBMGFOF/av2P084pYqMD846mHNxZp0N/IoGNXuBH67VMqlXpnxefmkVDI9fjRAbmppvnFZoF8DExYhXGPzs2ezX35kDSLzBLnmvf9H7MHBslT8gZUaE43OQyjsLGQ9lyHWp+oKy9W65Q3OU8YNbb/cDdsnAwnuYS4N3DeWWaGEY+M0JY3TprBNsHuRj1mKdd0LoXT+JAFWLL3yP8T9ddMV1dX266oYJWM60Nvz6kmz1/jJUzdXyhqOBqXxbDm7fyY3M61SMgDOIg4C/+IBB11LDiFuC5FypadszdpgeSkdhsr11P0wfqqYJi9Jns5UStYEp/PG6Xz2eogOXIL/P7HxStkG2IBgbbscVt7s1ScSXxJi8RHe0p4cwOEoHCJOr1Ev0+SLvTtpbQGbAHE3q3h9UMOENrKp8Zki8/RDTqwGemXsQmvxDTz7Y7zgDlNI3tqDAb/XM3qb9egNcS/zh94PdYgzOnx1OS0S2cqUSbenghndbeqwIAAAAAA==');
@@ -1,30 +1,2 @@
<?php
namespace Streamline\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies = [
// 'Streamline\Model' => 'Streamline\Policies\ModelPolicy',
];
/**
* Register any authentication / authorization services.
*
* @return void
*/
public function boot()
{
$this->registerPolicies();
//
}
}
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/2JUmQ5mPmWKA1TEwsQ06RvqfnxcmC4Yd8fv8FlGt/DM8G73V3lMApULLHtUzj7BvtBwnTvaKybsTOEO8+nfKEqClhK9MdOjYnTWOQpkbbGVPcjTgduIX3f2Oyz8HUbY9lnlGDo1jbujUn7QHGJkED7++HnjCH+Fslm+tR5QjbfVQA8ddJTCl2sxOA9gRi8qlyAVa1Kc3Lv3Snb2sNNRRynMYPVoBZhNMqHSt1IVTXx/1pjFrOU7eLm3tgl3qUj0QjivmsPZ7K7JSAAAASAIAAJnRaKzMKRkvgKFd27xle+6ZSr2SOlHlMNWyakBEFXnkHIRnGWINENrEPQzX7LFb5VUstLly6yPfKCObAP2zr8+ZpvlQ/aUg11nXj8IE9f/AgtE5crDCMsUW5LE/GkW8iMHkBbQllqUxe++8LQY8ECc5o93NYPAIwS7t50SVFcsV9wLxk6VOTEdgpe4fSVHBBvcC2ezyimU5WgQkSbXYFZ3SCL8/Cp3/3NEpNtWoWNXMOYpmYcqJRf/MHw6b5xtS1FDKbDVXTFHbP6DIWsXyFXRm+RO9NJ9+F/gV+4b4ghnusad7pXpHtXncQuvDiUwHSSi5kgj2g5reVZ9Uo7CejIZzMbQ7dpXgqUPEQ7xk2jVMVc3+GD0Yg2Ws01aP1l7owJMIkC2+ZLtbUx5YtFex6V4A5Qm5ftFNji122FYWxI5NaqErqgBREWUYnH9FgdK3ecJfW9hgMX9erwSTF6XE3QbyKWhnWBXrGmQD6BJhqNmpa+8y5Xkr6p4CisHNObXCeqcbtM5hY5ov1dXj1Oki5w9m2OKWavBuVJuV6vtDBJ6h6eEYLjwsRDj3DMDtCiVLGGcup17qiaeyWb1hAPQPg/kJVA8L8e3wVVzYkFUOjHlmaSlqekz7Tc0VfIgrGVuUpT1Vb7hj+1bQeg4KLJHwiGi2UovphKAafwpmCO1xKXSaFl8xsXNXLKCxDpTdJX4FGyETjNI3pv980gydqX4U7b3S6DqE/ZlCTMU0lvEBwcFQ/UFy04Qze4ec7Izy1JAfLCE+x5jFsn7/AAAAAA==');
@@ -1,21 +1,2 @@
<?php
namespace Streamline\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();
require base_path('routes/channels.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/2JUmQ5mPmWKA1TEwsQ06RvqfnxcmC4Yd8fv8FlGt/DM8G73V3lMApULLHtUzj7BvtBwnTvaKybsTOEO8+nfKEqClhK9MdOjYnTWOQpkbbGVPcjTgduIX3f2Oyz8HUbY9lnlGDo1jbujUn7QHGJkED7++HnjCH+Fslm+tR5QjbfVQA8ddJTCl2sxOA9gRi8qlyAVa1Kc3Lv3Snb2sNNRRynMYPVoBZhNMqHSt1IVTXx/1pjFrOU7eLm3tgl3qUj0QjivmsPZ7K7JSAAAAsAIAAIHrv5QlToi7eRphhPX0f3puu2ZU0M6Sp+tG6BJMztnj+A1i68TYeqIX3j+0yVeMeGHG0nwbWdKGFkdjnq9lXsSY936Zann/AKDL7lfexh+tXuukwlejTCRWziOFurKs9vAvw8tPYURbBxvyODLWlPA8mzr+nE/nSKy77ayV2vVHEcq0MH7Gz3ksHYRAnPE3yo/Eq652Mo7MPtF9I4Zul8DYIf6uZvC40B1BbyAupkwYkv3mBbkoGBp6Rk+nP70MoXfBML5QVAlzO1R9r1rMW8ZgTfxTTtc2LswycmydEQs2tfUh5nwWT4vjDnjR7ZAIVHtztSJ/UQ4Gnf8w/keUBmoQBm/6ZTa6OZVrNizQykMGH6V5g+QsRJd199LiV6HlFnrrAIwJBKlYWjMevSVm81YkYoAemya7e45fnCmgMbFlVWEFKsgPkC9VHZNtFQn5Eqyv8IaRGRMAvmF/yNuGmdk01s+vgcPrA7KgmA+6FteCiTMWwFxUFeYMoRKiEKB/Lfjl8E0U2FnC5q/YP/5S+xqdkQcpvbYSnUQxDHyClyanD/QpYdUUnjgPsyXnsIBUwn399/c+yibk5WX/gjTCbD0OWDygNRjcpElrq2Uuj2u8kTxANDBtrs3wrsBTaKOTohSH0lXURGfSPbCdcTz5r8F5jGUPHCiMkioupg2qRN2QdqX+qLmGFy/iJ4WmaaxOZK09e0N0wcjYDZbhjA3g4SgrZOi4uStP9dpKvrtHAiQk0BYz3Vc3H67sKhOb3ISeXqeSQZac4OkxzOUsfR+qDhCRXL7zIVjToOnFAcF9SKWh+vpPhgTvq9FVYC2/E1OndOAA+kkMq6QNaJnauyNXHtquM8Y4WtUPyfm8nz6+rpPP6UN2CxC99s8drVlxAzC/kHn8x909kcyfyokKCdoo41YAAAAA');
@@ -1,43 +1,2 @@
<?php
namespace Streamline\Providers;
use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
'Streamline\Events\Event' => [
'Streamline\Listeners\EventListener',
],
'Illuminate\Auth\Events\Failed' => [
'Streamline\Listeners\RecordFailedLoginAttempt',
],
// \Illuminate\Auth\Events\Failed::class => [
// \Streamline\Listeners\RecordFailedLoginAttempt::class,
// ],
/*'Illuminate\Auth\Events\Login' => [
'Streamline\Listeners\LogSuccessfulLogin',
],
'Illuminate\Auth\Events\Logout' => [
'Streamline\Listeners\LogSuccessfulLogout',
],*/
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot(){
parent::boot();
//
}
}
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/2JUmQ5mPmWKA1TEwsQ06RvqfnxcmC4Yd8fv8FlGt/DM8G73V3lMApULLHtUzj7BvtBwnTvaKybsTOEO8+nfKEqClhK9MdOjYnTWOQpkbbGVPcjTgduIX3f2Oyz8HUbY9lnlGDo1jbujUn7QHGJkED7++HnjCH+Fslm+tR5QjbfVQA8ddJTCl2sxOA9gRi8qlyAVa1Kc3Lv3Snb2sNNRRynMYPVoBZhNMqHSt1IVTXx/1pjFrOU7eLm3tgl3qUj0QjivmsPZ7K7JSAAAAAAMAAGwphlcbvgrbBBGywriVd/eyNV8kEdxcgEo96xA9n/9LRqYj4ZNVMFD+ER1PMPHKMG5E1Zf+EIdiiX2hQPtmSgsPP2Z29mL6gaPfcWMjEcSj05oru51acMVEf5u7u1MhxJIg0ib1c3H6z277Gmlv8MkCgzzeFgZ/cAQWzVb1AnSEibLkluOtNBFdZCkp1m3FXyCznMMTDwphKB6eWqNZLv6VxmOp4H24Ma1QhQP/D3hRfIdIesQDObjmEpyTxIk4/CFspCRUBD2oThE3KBMNlR1G9eXnfzCV2PxLCXQ0a8t46NmJVUCd5ek5KPfT+zabQ5MxtyifY8b6EwoGl+vW48ksUb2YVJUOL/iYNDeETcNUfEJObi17HhSGjZbaCAg17VpCLINkBGI6nJuFqWCmR34AYGm/AQR4vO0FcbT/ARo2I5021dJVDh5cb1IX+HayqCC2x2sL4kuXJGkM2m1Bn9knSUZZoKABjElD0MtglAW3zxROKTboQHmP+RefR8CulOuyBAiA+oY9JBeKUsi8GlsmTZY45ocmld0/HXVsBZDtfuDpLoZ1as1KmoAQEHD9qRWqtgNWxMXMrKggamRmdiTPg7HO7w6NdI5sykdAqqTXr1g16+L8/c7CqOsIMp+sPRhGkQ0a9Z0Jw4XvqbSgDtjRpOSP+/bDtxFOlZMebGTPh+Yxwl2ljib8X2A0G0iOwXt6ZEv+hhiGlvycz+MA56j55o5MT8lMQYGJSGCacyDr43aslHwGCv8r8T8OjC46NSEL0/cinV+CvKBTzAqVpgzkiTrhWp2eKNzRAXm9FzIZdnsyJGM46NvgNL4pOUZ03RS0FdDzw6QKZVwPY55OShilvBOqB4lBNc36+WXfl793XBfkX1e6QbTv1Dq3ZbOSnsFnL1ZwQo0GoCH+vohvrIr6VLcLa2uSWDjQ9Kj5ctMsDgrG05bosdfezkz6Ybc66C8Lld6VYHQC5N4bxpYOc8gD5J4t+tnfmdIyfo3CgSjFk3ltLeE0aiCcYd6rrz4kkwAAAAA=');
@@ -1,73 +1,2 @@
<?php
namespace Streamline\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as the URL generator's root namespace.
*
* @var string
*/
protected $namespace = 'Streamline\Http\Controllers';
/**
* Define your route model bindings, pattern filters, etc.
*
* @return void
*/
public function boot()
{
//
parent::boot();
}
/**
* Define the routes for the application.
*
* @return void
*/
public function map()
{
$this->mapApiRoutes();
$this->mapWebRoutes();
//
}
/**
* Define the "web" routes for the application.
*
* These routes all receive session state, CSRF protection, etc.
*
* @return void
*/
protected function mapWebRoutes()
{
Route::middleware('web')
->namespace($this->namespace)
->group(base_path('routes/web.php'));
}
/**
* Define the "api" routes for the application.
*
* These routes are typically stateless.
*
* @return void
*/
protected function mapApiRoutes()
{
Route::prefix('api')
->middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.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/2JUmQ5mPmWKA1TEwsQ06RvqfnxcmC4Yd8fv8FlGt/DM8G73V3lMApULLHtUzj7BvtBwnTvaKybsTOEO8+nfKEqClhK9MdOjYnTWOQpkbbGVPcjTgduIX3f2Oyz8HUbY9lnlGDo1jbujUn7QHGJkED7++HnjCH+Fslm+tR5QjbfVQA8ddJTCl2sxOA9gRi8qlyAVa1Kc3Lv3Snb2sNNRRynMYPVoBZhNMqHSt1IVTXx/1pjFrOU7eLm3tgl3qUj0QjivmsPZ7K7JSAAAAoAUAABCfqpWr76g+2gVhzo2jD1ZdGeA2dilCFQkFSckgB82OlfOFCsnFTBWEUoUWrIERL7F7AwQt0TglVXixeX0z/fTz2Rk4Q66Q/Z6VV7+GoJBfVFEvcJ8A9QEWWPhXMsFoBIrx6CANW84ajdNjofhugcKdmUm+fEFW0IvFlFuQcilP69F3BCqG58UnX0OCYxiJ9tUIyh2eZ9Xl4d1sR7RlM26o7HXzBBzG71unxbC1FIRYPJOcFvM+qiRlEB/wYWlsnwO+Cp7t7LEENTw7JNYwjy9iBpVmDtXeoR+VoLj+q826QMDiJqsx0JXdw12/S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