The first thing to do is to install Git on the remote server.
Once you do that the rest of the process is split into three sections:
- Server set-up
- Local set-up (push commits)
- Server (pull commits)
<?php | |
// --- cache location | |
$cache_dir = dirname(__FILE__) . '/../app/cache'; | |
echo "<b>cache_dir : $cache_dir</b>"; | |
// --- | |
function rrmdir($dir) { | |
if (is_dir($dir)) { |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.