PHP Classes

File: Settings.php

Recommend this page to a friend!
  Classes of Pavel Astakhov   PHP Interpreter   Settings.php   Download  
File: Settings.php
Role: Configuration script
Content type: text/plain
Description: contains the settings
Class: PHP Interpreter
Execute PHP code by interpreting source strings
Author: By
Last change:
Date: 11 years ago
Size: 1,027 bytes
 

Contents

Class file image Download
<?php
/**
 * @file Settings.php
 * @ingroup Foxway
 * @author Pavel Astakhov <pastakhov@yandex.ru>
 */

// Default settings
Foxway\Runtime::$permittedTime = 1;

Foxway\Runtime::$functions = array_merge(
        include
__DIR__ . '/functions/strings.php', // String Functions @see http://php.net/manual/en/ref.strings.php
       
include __DIR__ . '/functions/array.php', // Array Functions @see http://www.php.net/manual/en/ref.array.php
       
include __DIR__ . '/functions/math.php', // Math Functions @see http://www.php.net/manual/en/ref.math.php
       
include __DIR__ . '/functions/var.php', // Variable handling Functions @see http://www.php.net/manual/en/ref.var.php
       
include __DIR__ . '/functions/pcre.php', // PCRE Functions @see http://www.php.net/manual/en/ref.pcre.php
       
include __DIR__ . '/functions/datetime.php', // Date/Time Functions @see http://www.php.net/manual/en/ref.datetime.php
       
Foxway\Runtime::$functions
);

Foxway\Runtime::$constants = array_merge(
        include
__DIR__ . '/constants.php',
       
Foxway\Runtime::$constants
);