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