Making code PSR2 compliant

This commit is contained in:
gamonoid
2017-09-24 19:23:30 +02:00
parent 05b57e0236
commit 6c61577583
160 changed files with 1432 additions and 1086 deletions

View File

@@ -1,5 +1,5 @@
<?php
if(file_exists('/usr/lib/php5/mysql.auth.php')){
if (file_exists('/usr/lib/php5/mysql.auth.php')) {
include '/usr/lib/php5/mysql.auth.php';
}
include(dirname(__FILE__).'/test.config.php');
@@ -20,7 +20,7 @@ $scripts = array(
//APP_BASE_PATH."scripts/icehrm_sample_data.sql",
);
foreach ($scripts as $insql){
foreach ($scripts as $insql) {
echo $insql."\r\n";
$command = "cat ".$insql."| mysql -u".MYSQL_ROOT_USER." -p".MYSQL_ROOT_PASS." '".APP_DB."'";
exec($command);