Making code PSR2 compliant
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user