From be5dc61c63abc9b5f612a5f35949167cea61ba17 Mon Sep 17 00:00:00 2001 From: WireShout Date: Thu, 13 Dec 2012 15:18:34 -0500 Subject: [PATCH] Changing to code-block --- developer_manual/filesystem.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/developer_manual/filesystem.rst b/developer_manual/filesystem.rst index 0573c9721..d72894215 100644 --- a/developer_manual/filesystem.rst +++ b/developer_manual/filesystem.rst @@ -47,8 +47,10 @@ OC_Filesystem must be initiated before it can be used using the OC_Filesystem::i Example: -``OC_Filesystem::init( '/' . $user . '/' . $root ); -OC_Filesystem::mkdir( 'test' ); -if ( OC_Filesystem::is_dir('test') ) { echo 'OC_Filesystem is being used correctly'; }`` +.. code-block:: php + + OC_Filesystem::init( '/' . $user . '/' . $root ); + OC_Filesystem::mkdir( 'test' ); + if ( OC_Filesystem::is_dir('test') ) { echo 'OC_Filesystem is being used correctly'; }`` -.. _singleton pattern: https://en.wikipedia.org/wiki/Singleton_pattern +.. _singleton pattern: https://en.wikipedia.org/wiki/Singleton_pattern