Getting started:
Related tutorials:
Getting started:
Related tutorials:
const mix = require('laravel-mix'); | |
let fs = require('fs'); | |
let getFiles = function (dir) { | |
// get all 'files' in this directory | |
// filter directories | |
return fs.readdirSync(dir).filter(file => { | |
return fs.statSync(`${dir}/${file}`).isFile(); | |
}); |
To properly edit an accounts DocumentRoot go to /var/cpanel/userdata/username/ (replace username with the actual cPanel username for the account), then edit the file domain.com (where domain.com is your primary domain name).
You will see something like this in that file:
documentroot: /home/username/public_html
You will also see the cgi-bin area in this section:
scriptalias:
<?php | |
trait EnhancedEnum | |
{ | |
/** | |
* Get the enum value from the name. e.g case INVOICE = 'invoice'; will return 'invoice' | |
* | |
* @param string $name | |
* @return static | |
*/ |