setup.php
Table of Contents
Constants
- BASE_URL = \MilkCore\Route::url()
- Base URL of the application
- NEW_VERSION = '250609'
- Version identifier in format AAmmXX (YearMonth + sequence)
- STORAGE_DIR = realpath(MILK_DIR . '/' . \MilkCore\Config::get('storage_dir', 'storage'))
- Directory of the storage
- THEME_DIR = realpath(MILK_DIR . '/' . \MilkCore\Config::get('theme_dir', 'theme'))
- Directory of the theme
- THEME_URL = \MilkCore\Route::url() . "/" . (\MilkCore\Config::get('theme_dir') ?? 'theme')
- URL to the theme directory
Constants
BASE_URL
Base URL of the application
public
mixed
BASE_URL
= \MilkCore\Route::url()
Tags
NEW_VERSION
Version identifier in format AAmmXX (YearMonth + sequence)
public
mixed
NEW_VERSION
= '250609'
Tags
STORAGE_DIR
Directory of the storage
public
mixed
STORAGE_DIR
= realpath(MILK_DIR . '/' . \MilkCore\Config::get('storage_dir', 'storage'))
Tags
THEME_DIR
Directory of the theme
public
mixed
THEME_DIR
= realpath(MILK_DIR . '/' . \MilkCore\Config::get('theme_dir', 'theme'))
Tags
THEME_URL
URL to the theme directory
public
mixed
THEME_URL
= \MilkCore\Route::url() . "/" . (\MilkCore\Config::get('theme_dir') ?? 'theme')