Changeset 9 for trunk


Ignore:
Timestamp:
May 5, 2015, 7:59:58 PM (9 years ago)
Author:
gegorbet
Message:

fix to handle ~us3/bin on different hosts

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cleanup.php

    r6 r9  
    77 */
    88
    9 include_once "/export/home/us3/bin/listen-config.php";
     9$us3bin = exec( "ls -d ~us3/bin" );
     10include_once "$us3bin/listen-config.php";
    1011$me              = 'cleanup.php';
    1112$email_address   = '';
  • trunk/listen.php

    r6 r9  
    11<?php
    22
    3 include "/export/home/us3/bin/listen-config.php";
     3$us3bin = exec( "ls -d ~us3/bin" );
     4include "$us3bin/listen-config.php";
    45
    56$socket = socket_create(  AF_INET,  SOCK_DGRAM,  SOL_UDP );
Note: See TracChangeset for help on using the changeset viewer.