jabastien / include

Common (included) files for forum and admin repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

include

This repository contains one file: common.php

These are the "common" functions which are used by various parts of the system (eg. to upload an image) and are included into each relevant file, like this:

require ("config.php");  // this has the location of the config file (ie. $CONFIG_PATH)
require ($CONFIG_PATH . "general_config.php"); // This has the path variables: $INCLUDE_DIRECTORY and $HHS_INCLUDE_DIRECTORY 
require ($INCLUDE_DIRECTORY . "common.php");   // General common functions

About

Common (included) files for forum and admin repositories


Languages

Language:PHP 90.8%Language:JavaScript 6.7%Language:Lua 2.4%