PHP Classes

File: config/lib.php

Recommend this page to a friend!
  Packages of Thierry Feuzeu   Jaxon   config/lib.php   Download  
File: config/lib.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change:
Date: 1 year ago
Size: 1,364 bytes
 

Contents

Class file image Download
<?php

return [
    'core' => [
        'version'               => Jaxon\Jaxon::VERSION,
        'language'              => 'en',
        'encoding'              => 'utf-8',
        'decode_utf8'           => false,
        'prefix' => [
            'function'          => 'jaxon_',
            'class'             => 'Jaxon',
        ],
        'request' => [
            'mode'              => 'asynchronous',
            'method'            => 'POST', // W3C: Method is case-sensitive
        ],
        'response' => [
            'send'              => true,
        ],
        'debug' => [
            'on'                => false,
            'verbose'           => false,
        ],
        'process' => [
            'exit'              => true,
            'timeout'           => 6000,
        ],
        'error' => [
            'handle'            => false,
            'log_file'          => '',
        ],
        'jquery' => [
            'no_conflict'       => false,
        ],
    ],
    'js' => [
        'lib' => [
            'output_id'         => 0,
            'queue_size'        => 0,
            'load_timeout'      => 2000,
            'show_status'       => false,
            'show_cursor'       => true,
        ],
        'app' => [
            'dir'               => '',
            'options'           => '',
        ],
    ],
];