Skip to content
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
siftware
mosaico
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
mosaico
/
config.php
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
34 lines (23 loc) · 1.18 KB
master
Breadcrumbs
mosaico
/
config.php
Copy path
Top
File metadata and controls
Code
Blame
34 lines (23 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/* note that all _URL and _DIR configurations below must end with a forward slash (/) */
$config = [
/* base url for image folders */
BASE_URL => ( array_key_exists( "HTTPS", $_SERVER ) ? "https://" : "http://" ) . $_SERVER[ "HTTP_HOST" ] . dirname( dirname( $_SERVER[ "PHP_SELF" ] ) ) . "mosaico/",
/* local file system base path to where image directories are located */
BASE_DIR => dirname( dirname( $_SERVER[ "SCRIPT_FILENAME" ] ) ) . "/mosaico/",
/* url to the uploads folder (relative to BASE_URL) */
UPLOADS_URL => "uploads/",
/* local file system path to the uploads folder (relative to BASE_DIR) */
UPLOADS_DIR => "uploads/",
/* url to the static images folder (relative to BASE_URL) */
STATIC_URL => "uploads/static/",
/* local file system path to the static images folder (relative to BASE_DIR) */
STATIC_DIR => "uploads/static/",
/* url to the thumbnail images folder (relative to BASE_URL */
THUMBNAILS_URL => "uploads/thumbnails/",
/* local file system path to the thumbnail images folder (relative to BASE_DIR) */
THUMBNAILS_DIR => "uploads/thumbnails/",
/* width and height of generated thumbnails */
THUMBNAIL_WIDTH => 90,
THUMBNAIL_HEIGHT => 90
];
You can’t perform that action at this time.