Record [f:main/conf.php] < dev.sky.1.001
Version 1.001
001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 | <?php defined('START') or die; define('START_TS', $START_TS = microtime(true)); define('ENC', 'UTF-8'); define('NOB', false); define('DEV', 'WINNT' == PHP_OS); define('DEBUG', DEV ? 1 : 0); // 1, 2, 3 - verbosity level, 0 - debugging off error_reporting(DEBUG ? E_ALL : 0); define('CLI', 'cli' == PHP_SAPI); define('_PUBLIC', '{$a_live_public}'); define('_JS', 'http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js'); $PROFILES = array('Anonymous', 'Root', 'Registered'); $idc = mysqli_init() or exit('db'); mysqli_options($idc, MYSQLI_INIT_COMMAND, "set names utf8") or exit('options'); # mysqli_query($idc, "set lc_time_names = 'ru_RU'"); DEV ? @mysqli_real_connect($idc, '{$a_dev_sqlhost}', '{$a_dev_sqluser}', '{$a_dev_sqlpass}', '{$a_dev_sqldb}') : @mysqli_real_connect($idc, '{$a_live_sqlhost}', '{$a_live_sqluser}', '{$a_live_sqlpass}', '{$a_live_sqldb}') or exit(mysqli_connect_error()); require 'sky.php'; CLI or require 'wing.php'; |
Codebase entries (89)
SKY. status
Current version: 1.001
Coresky records: 22
Local (DEV) records: 89
Web (all) records: 105
Download: dev.php
Coresky records: 22
Local (DEV) records: 89
Web (all) records: 105
Download: dev.php