| | |
| | | exec("setquota -T -u $username 604800 604800 -a &> /dev/null"); |
| | | } |
| | | |
| | | // make temp direcory writable for the apache user and the website user |
| | | // make temp directory writable for the apache and website users |
| | | exec("chmod 777 ".escapeshellcmd($parent_domain["document_root"]."/tmp")); |
| | | |
| | | /** TODO READ CRON MASTER **/ |
| | |
| | | } |
| | | |
| | | $command .= "\t"; |
| | | if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root']; |
| | | if(substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/'; |
| | | $command .= $job['command']; |
| | | } |
| | | |
| | |
| | | |
| | | } // end class |
| | | |
| | | ?> |
| | | ?> |