Skip to content
Snippets Groups Projects
Select Git revision
  • bcf46d00f0abcd7a2fbec2a8dcddda11105f8f79
  • 3.9 default
  • develop
  • 6.0
  • 5.0
  • 4.0
  • scrutinizer-patch-4
  • scrutinizer-patch-3
  • scrutinizer-patch-2
  • scrutinizer-patch-1
  • 3.7
  • 3.8
  • 3.6
  • 3.9_backported
  • 3.8_backported
  • 3.7_backported
  • 3.5
  • 3.6_backported
  • 3.5_backported
  • 3.4
  • 3.3_backported
  • 6.0.4
  • 6.0.3
  • 5.0.7
  • 6.0.2
  • 6.0.1
  • 5.0.6
  • 6.0.0
  • 5.0.5
  • 6.0.0-rc
  • 5.0.4
  • 6.0.0-beta
  • 5.0.3
  • 4.0.6
  • 5.0.2
  • 5.0.1
  • 4.0.5
  • 5.0.0
  • 4.0.4
  • 5.0.0-rc2
  • 5.0.0-rc1
41 results

index.php

Blame
  • config.sample.php 649 B
    <?php
    require_once 'DB/DataObject.php';
    require_once 'DB/DataObject/FormBuilder.php';
    require_once 'HTML/QuickForm/Renderer/Tableless.php';
    $options = &PEAR::getStaticProperty('DB_DataObject','options');
    $options = array(
        'database'          => 'mysql://yns:yns@localhost/yns',
        'schema_location'   => dirname(__FILE__).'/YNS',
        'class_location'    => dirname(__FILE__).'/YNS',
        'require_prefix'    => 'YNS/',
        'class_prefix'      => 'YNS_',
        'db_driver'         => 'MDB2', //Use this if you wish to use MDB2 as the driver
        'quote_identifiers' => true
    );
    
    set_include_path(dirname(__FILE__).PATH_SEPARATOR.get_include_path());