Changeset 10741
- Timestamp:
- 08/07/08 13:37:08 (4 months ago)
- Files:
-
- branches/1.0/data/tasks/sfPakeMisc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/data/tasks/sfPakeMisc.php
r9893 r10741 200 200 201 201 // create a lock file 202 $lock_file = $sf_root_dir. '/'.$lock_name.'-cli.lck';202 $lock_file = $sf_root_dir.DIRECTORY_SEPARATOR.$lock_name.'-cli.lck'; 203 203 pake_touch($lock_file, ''); 204 204 205 205 // change mode so the web user can remove it if we die 206 pake_chmod($lock_file, '', 0777);206 pake_chmod($lock_file, $sf_root_dir, 0777); 207 207 208 208 // remove cache files 209 pake_remove($finder, $sf_root_dir. '/'.$sub_dir);209 pake_remove($finder, $sf_root_dir.DIRECTORY_SEPARATOR.$sub_dir); 210 210 211 211 // release lock