public function check_storage()
    {

        $this->line(' * Checking storage');
        if (! File::isWritable(storage_path()))
            $this->error(storage_path() . ' is not writable');
        else
            $this->info(storage_path() . ' is writable');

        if (! File::isWritable(config('eveapi.config.eseye_logfile')))
            $this->error(config('eveapi.config.eseye_logfile') . ' is not writable');
        else
            $this->info(config('eveapi.config.eseye_logfile') . ' is writable');

        if (! File::isWritable(config('eveapi.config.eseye_cache')))
            $this->error(config('eveapi.config.eseye_cache') . ' is not writable');
        else
            $this->info(config('eveapi.config.eseye_cache') . ' is writable');

        if (! File::isWritable(storage_path() . '/sde/'))
            $this->error(storage_path() . '/sde/' . ' is not writable');
        else
            $this->info(storage_path() . '/sde/' . ' is writable');

        if (! File::isWritable(storage_path(sprintf('logs/laravel-%s.log', carbon()->toDateString()))))
            $this->error(storage_path(sprintf('logs/laravel-%s.log  is not writable', carbon()->toDateString())));
        else
            $this->info(storage_path(sprintf('logs/laravel-%s.log is writable', carbon()->toDateString())));
    }
public function check_storage()
    {

        $this->line(' * Checking storage');
        if (! File::isWritable(storage_path()))
            $this->error(storage_path() . ' is not writable');
        else
            $this->info(storage_path() . ' is writable');

        if (! File::isWritable(config('eveapi.config.eseye_logfile')))
            $this->error(config('eveapi.config.eseye_logfile') . ' is not writable');
        else
            $this->info(config('eveapi.config.eseye_logfile') . ' is writable');

        if (! File::isWritable(config('eveapi.config.eseye_cache')))
            $this->error(config('eveapi.config.eseye_cache') . ' is not writable');
        else
            $this->info(config('eveapi.config.eseye_cache') . ' is writable');

        if (! File::isWritable(storage_path() . '/sde/'))
            $this->error(storage_path() . '/sde/' . ' is not writable');
        else
            $this->info(storage_path() . '/sde/' . ' is writable');

        if (! File::isWritable(storage_path(sprintf('logs/laravel-%s.log', carbon()->toDateString()))))
            $this->error(storage_path(sprintf('logs/laravel-%s.log  is not writable', carbon()->toDateString())));
        else
            $this->info(storage_path(sprintf('logs/laravel-%s.log is writable', carbon()->toDateString())));
    }
public function check_storage ( ) { $ this -> line ( ' * Checking storage' ) ; if ( ! File :: isWritable ( storage_path ( ) ) ) $ this -> error ( storage_path ( ) . ' is not writable' ) ; else $ this -> info ( storage_path ( ) . ' is writable' ) ; if ( ! File :: isWritable ( config ( 'eveapi.config.eseye_logfile' ) ) ) $ this -> error ( config ( 'eveapi.config.eseye_logfile' ) . ' is not writable' ) ; else $ this -> info ( config ( 'eveapi.config.eseye_logfile' ) . ' is writable' ) ; if ( ! File :: isWritable ( config ( 'eveapi.config.eseye_cache' ) ) ) $ this -> error ( config ( 'eveapi.config.eseye_cache' ) . ' is not writable' ) ; else $ this -> info ( config ( 'eveapi.config.eseye_cache' ) . ' is writable' ) ; if ( ! File :: isWritable ( storage_path ( ) . '/sde/' ) ) $ this -> error ( storage_path ( ) . '/sde/' . ' is not writable' ) ; else $ this -> info ( storage_path ( ) . '/sde/' . ' is writable' ) ; if ( ! File :: isWritable ( storage_path ( sprintf ( 'logs/laravel-%s.log' , carbon ( ) -> toDateString ( ) ) ) ) ) $ this -> error ( storage_path ( sprintf ( 'logs/laravel-%s.log  is not writable' , carbon ( ) -> toDateString ( ) ) ) ) ; else $ this -> info ( storage_path ( sprintf ( 'logs/laravel-%s.log is writable' , carbon ( ) -> toDateString ( ) ) ) ) ; }
Check access to some important storage paths.
Check access to some important storage paths .