moved validate.lib.php
This commit is contained in:
@@ -97,8 +97,8 @@ $cfg_db['_overrides']['Servers/1/extension'] = extension_loaded('mysqli')
|
||||
? 'mysqli' : 'mysql';
|
||||
|
||||
/**
|
||||
* Validator assignments (functions from setup/validate.lib.php and 'validators'
|
||||
* object in setup/scripts.js)
|
||||
* Validator assignments (functions from libraries/config/validate.lib.php and 'validators'
|
||||
* object in js/config.js)
|
||||
* Use only full paths and form ids
|
||||
*/
|
||||
$cfg_db['_validators'] = array(
|
||||
|
@@ -16,7 +16,7 @@
|
||||
* Core libraries.
|
||||
*/
|
||||
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';
|
||||
|
||||
/**
|
||||
|
@@ -11,9 +11,8 @@
|
||||
*
|
||||
* 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
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
@@ -14,7 +14,7 @@
|
||||
require './lib/common.inc.php';
|
||||
|
||||
$validators = array();
|
||||
require './setup/lib/validate.lib.php';
|
||||
require './libraries/config/validate.lib.php';
|
||||
|
||||
header('Content-type: application/json');
|
||||
|
||||
|
Reference in New Issue
Block a user