PHP Classes

File: web/constants.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Simple PHP Podcast Generator   web/constants.php   Download  
File: web/constants.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Simple PHP Podcast Generator
Generate podcast RSS from audio and video files
Author: By
Last change:
Date: 1 year ago
Size: 325 bytes
 

Contents

Class file image Download
<?php
defined
('PUBLIC_ACCESS') or exit('Restricted Access');

$configFile = parse_ini_file(__DIR__ . '/config.ini', true);

define('ROOT_URL', $configFile['settings']['base.url']);
define('PODCAST_NAME', $configFile['settings']['podcast.name']);
define('PODCAST_DESCRIPTION', $configFile['settings']['podcast.description']);