moved validate.lib.php

This commit is contained in:
Crack
2010-07-03 23:27:02 +02:00
parent 47cd7c9a20
commit 7c5a298f27
4 changed files with 5 additions and 6 deletions

View File

@@ -97,8 +97,8 @@ $cfg_db['_overrides']['Servers/1/extension'] = extension_loaded('mysqli')
? 'mysqli' : 'mysql'; ? 'mysqli' : 'mysql';
/** /**
* Validator assignments (functions from setup/validate.lib.php and 'validators' * Validator assignments (functions from libraries/config/validate.lib.php and 'validators'
* object in setup/scripts.js) * object in js/config.js)
* Use only full paths and form ids * Use only full paths and form ids
*/ */
$cfg_db['_validators'] = array( $cfg_db['_validators'] = array(

View File

@@ -16,7 +16,7 @@
* Core libraries. * Core libraries.
*/ */
require_once './libraries/config/FormDisplay.tpl.php'; require_once './libraries/config/FormDisplay.tpl.php';
require_once './setup/lib/validate.lib.php'; require_once './libraries/config/validate.lib.php';
require_once './libraries/js_escape.lib.php'; require_once './libraries/js_escape.lib.php';
/** /**

View File

@@ -11,9 +11,8 @@
* *
* Valdiation functions are assigned in $cfg_db['_validators'] (config.values.php). * Valdiation functions are assigned in $cfg_db['_validators'] (config.values.php).
* *
* @package phpMyAdmin-setup * @package phpMyAdmin
* @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0 * @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
* @version $Id$
*/ */
/** /**

View File

@@ -14,7 +14,7 @@
require './lib/common.inc.php'; require './lib/common.inc.php';
$validators = array(); $validators = array();
require './setup/lib/validate.lib.php'; require './libraries/config/validate.lib.php';
header('Content-type: application/json'); header('Content-type: application/json');