File manager - Edit - /usr/local/lib/node_modules/ghost-cli/lib/tasks/ensure-structure.js
Back
'use strict'; const fs = require('fs-extra'); const path = require('path'); module.exports = function ensureStructure() { const cwd = process.cwd(); // Create `versions` directory fs.ensureDirSync(path.resolve(cwd, 'versions')); // Create `content` directory fs.ensureDirSync(path.resolve(cwd, 'content')); fs.ensureDirSync(path.resolve(cwd, 'content', 'apps')); fs.ensureDirSync(path.resolve(cwd, 'content', 'themes')); fs.ensureDirSync(path.resolve(cwd, 'content', 'data')); fs.ensureDirSync(path.resolve(cwd, 'content', 'images')); fs.ensureDirSync(path.resolve(cwd, 'content', 'logs')); fs.ensureDirSync(path.resolve(cwd, 'content', 'settings')); };
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings