- Timestamp:
- Dec 18, 2013 7:49:24 PM (10 years ago)
- Location:
- branches/eli_branch
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eli_branch/lib/DB.inc.php
r445 r450 146 146 147 147 // Connect to database. Always create a new link to the server. 148 if ($this->dbh = mysql_connect($this->getParam('db_server'), $this->getParam('db_user'), $this->getParam('db_pass'), true)) {148 if ($this->dbh = @mysql_connect($this->getParam('db_server'), $this->getParam('db_user'), $this->getParam('db_pass'), true)) { 149 149 // Select database 150 150 mysql_select_db($this->getParam('db_name'), $this->dbh); -
branches/eli_branch/lib/FormValidator.inc.php
r447 r450 399 399 * @return bool true if value passes regex test 400 400 */ 401 public function checkRegex($form_name, $regex, $valid_on_match , $msg='')401 public function checkRegex($form_name, $regex, $valid_on_match=true, $msg='') 402 402 { 403 403 if (parent::checkRegex(getFormData($form_name), $regex, $valid_on_match)) { -
branches/eli_branch/lib/Validator.inc.php
r447 r450 138 138 * @return bool true if value passes regex test 139 139 */ 140 public function checkRegex($val, $regex, $valid_on_match=true )140 public function checkRegex($val, $regex, $valid_on_match=true, $msg='') 141 141 { 142 142 return $valid_on_match ? preg_match($regex, $val) : !preg_match($regex, $val); -
branches/eli_branch/tests/phpunit.xml
r446 r450 16 16 stopOnError="true" 17 17 stopOnFailure="true" 18 stopOnIncomplete=" false"18 stopOnIncomplete="true" 19 19 stopOnSkipped="true" 20 20 > … … 25 25 <file>AppTest.php</file> 26 26 <file>AuthFileTest.php</file> 27 <file>AuthorizeNetTest.php</file>27 <!-- <file>AuthorizeNetTest.php</file> --> 28 28 <file>AuthSQLTest.php</file> 29 29 <file>CSSTest.php</file> -
branches/eli_branch/tests/run_tests.sh
r448 r450 1 #!/bin/ sh1 #!/bin/bash 2 2 3 3 # This script sets-up the test environment and runs all tests.
Note: See TracChangeset
for help on using the changeset viewer.