Work on aps package
This commit is contained in:
parent
edb75a44a7
commit
a8efcf3a1c
@ -1,11 +1,12 @@
|
|||||||
|
#!/usr/bin/php
|
||||||
<?php
|
<?php
|
||||||
/*-----------------------------------------------------
|
/*-----------------------------------------------------
|
||||||
*
|
*
|
||||||
*----------------------------------------------------- */
|
*----------------------------------------------------- */
|
||||||
|
|
||||||
// This is list of predefined languages when script is ran.
|
// This is list of predefined variables when script is ran
|
||||||
// We set them manually for test purpose
|
// We have to set them manually to run script outside context.
|
||||||
putenv('SETTINGS_admin_name=admin');
|
/*putenv('SETTINGS_admin_name=admin');
|
||||||
putenv('SETTINGS_admin_password=admin-ad');
|
putenv('SETTINGS_admin_password=admin-ad');
|
||||||
putenv('BASE_URL_SCHEME=http');
|
putenv('BASE_URL_SCHEME=http');
|
||||||
putenv('BASE_URL_HOST=localhost');
|
putenv('BASE_URL_HOST=localhost');
|
||||||
@ -18,7 +19,7 @@ putenv('DB_main_HOST=localhost');
|
|||||||
putenv('DB_main_PORT=3306');
|
putenv('DB_main_PORT=3306');
|
||||||
putenv('DB_main_LOGIN=root');
|
putenv('DB_main_LOGIN=root');
|
||||||
putenv('DB_main_PASSWORD=root');
|
putenv('DB_main_PASSWORD=root');
|
||||||
|
*/
|
||||||
|
|
||||||
// Check parameters
|
// Check parameters
|
||||||
if(count($_SERVER['argv']) < 2)
|
if(count($_SERVER['argv']) < 2)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user