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: 5 months ago
Size: 325 bytes


Class file image Download
('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']['']);
define('PODCAST_DESCRIPTION', $configFile['settings']['podcast.description']);