From 70d84874e0ccf6e5726f45153011a2bc0389084e Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sun, 22 May 2011 01:24:45 +1000 Subject: updated themes to use new file_write() function --- templates/homepage/frameset/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/homepage/frameset/theme.php') diff --git a/templates/homepage/frameset/theme.php b/templates/homepage/frameset/theme.php index 90af409c..6aa126c8 100644 --- a/templates/homepage/frameset/theme.php +++ b/templates/homepage/frameset/theme.php @@ -16,13 +16,13 @@ global $config; if($action == 'all') - file_put_contents($config['dir']['home'] . $config['file_index'], Frameset::homepage($settings)); + file_write($config['dir']['home'] . $config['file_index'], Frameset::homepage($settings)); if($action == 'all' || $action == 'boards') - file_put_contents($config['dir']['home'] . 'sidebar.html', Frameset::sidebar($settings)); + file_write($config['dir']['home'] . 'sidebar.html', Frameset::sidebar($settings)); if($action == 'all' || $action == 'news') - file_put_contents($config['dir']['home'] . 'news.html', Frameset::news($settings)); + file_write($config['dir']['home'] . 'news.html', Frameset::news($settings)); } // Build homepage -- cgit v1.3