|
@@ -937,17 +937,17 @@ int sentqueue()
|
|
|
|
|
|
DEBUG_INFO("Sent queue.\n");
|
|
|
|
|
|
- stat("/Storage/OCPP", &stats);
|
|
|
+ stat("/Storage/OCPP_PH", &stats);
|
|
|
|
|
|
// Check for directory existence
|
|
|
if (S_ISDIR(stats.st_mode) != 1)
|
|
|
{
|
|
|
- //DEBUG_INFO("\n OCPP directory not exist, create dir \n");
|
|
|
- sprintf(cmd, "mkdir -p /Storage/OCPP");
|
|
|
+ //DEBUG_INFO("\n OCPP_PH directory not exist, create dir \n");
|
|
|
+ sprintf(cmd, "mkdir -p /Storage/OCPP_PH");
|
|
|
system(cmd);
|
|
|
}
|
|
|
|
|
|
- if((fp = fopen("/Storage/OCPP/TransactionRelatedQueue" , "r")) == NULL)
|
|
|
+ if((fp = fopen("/Storage/OCPP_PH/TransactionRelatedQueue" , "r")) == NULL)
|
|
|
{
|
|
|
DEBUG_ERROR("Error opening file");
|
|
|
}
|