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
/
sigmaerp.codeskitter.site
/
app
/
Helpers
/
GeneralHelper.php
/
/
<?php use Illuminate\Database\Eloquent\Relations\Relation; if (!function_exists('getMorphedModelName')) { /** * Get the morphed model name for a given class. * * @param string $class * @return string */ function getMorphedModelName(string $class): string { return array_search($class, Relation::morphMap()) ?: class_basename($class); } } if (!function_exists('getAppVersion')) { /** * Get the current application version. * * @return string */ function getAppVersion() { return env('APP_VERSION', '1.0.0'); // Default version if not set in .env } } if (!function_exists('getDatabaseMigrationAppVersion')) { /** * Get the current application version. * * @return string */ function getDatabaseMigrationAppVersion() { // Get the application version from the database // get the last record of the version table $appVersion = \DB::table('versions') ->select('version') ->orderBy('id', 'desc') ->first(); return $appVersion->version; return env('APP_VERSION', '1.0.0'); // Default version if not set in .env } } if (!function_exists('versionedAsset')) { /** * Get the current application version. * * @return string */ function versionedAsset($link) { return global_asset($link).'?v='.getAppVersion(); // Default version if not set in .env } }
/home/users/unlimited/www/sigmaerp.codeskitter.site/app/Helpers/GeneralHelper.php