MilkCore

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
global

string BASE_URL

NEW_VERSION

Version identifier in format AAmmXX (YearMonth + sequence)

public mixed NEW_VERSION = '250609'
Tags
global

string NEW_VERSION

STORAGE_DIR

Directory of the storage

public mixed STORAGE_DIR = realpath(MILK_DIR . '/' . \MilkCore\Config::get('storage_dir', 'storage'))
Tags
global

string STORAGE_DIR

THEME_DIR

Directory of the theme

public mixed THEME_DIR = realpath(MILK_DIR . '/' . \MilkCore\Config::get('theme_dir', 'theme'))
Tags
global

string THEME_DIR

THEME_URL

URL to the theme directory

public mixed THEME_URL = \MilkCore\Route::url() . "/" . (\MilkCore\Config::get('theme_dir') ?? 'theme')
Tags
global

string THEME_URL


        
On this page

Search results