PHP Classes

File: config/config_setting.php

Recommend this page to a friend!
  Classes of Peter  >  Storage Class  >  config/config_setting.php  >  Download  
File: config/config_setting.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Storage Class
Manipulate data in arrays and store it in files
Author: By
Last change:
Date: 6 years ago
Size: 555 bytes


Class file image Download
class config_setting {
    public static function
get_config() {
$config = array();

//Directory Structure
$config['main_path'] = dirname(dirname(__FILE__));
$config['base_path'] = "{$config['main_path']}/base";
$config['cache_path'] = "{$config['main_path']}/cache";
$config['config_path'] = "{$config['main_path']}/config";
$config['library_path'] = "{$config['main_path']}/library";
$config['test_path'] = "{$config['main_path']}/test";


For more information send a message to info at phpclasses dot org.